Last active
October 10, 2019 23:17
-
-
Save gavilanch/64c47f804b7dcc884387a8084dc4d910 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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