Skip to content

Instantly share code, notes, and snippets.

@gavilanch
Last active October 10, 2019 23:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gavilanch/64c47f804b7dcc884387a8084dc4d910 to your computer and use it in GitHub Desktop.
Save gavilanch/64c47f804b7dcc884387a8084dc4d910 to your computer and use it in GitHub Desktop.
@code{
...
int indiceJugadaOponente = 0;
private void TimerOnElapsed(object sender, ElapsedEventArgs e)
{
indiceJugadaOponente = (indiceJugadaOponente + 1) % jugadas.Count;
jugadaOponente = jugadas[indiceJugadaOponente];
StateHasChanged();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment