Example #1
0
 private void InicializarAplicacion()
 {
     juego         = new TresEnRaya();
     colorMaquina  = Brushes.Red;
     colorHumano   = Brushes.Blue;
     IAActivada    = MensajeInicioPartida();
     turnoJugador1 = true;
 }
Example #2
0
 private void ReiniciarPartida()
 {
     btn1.Content  = "";
     btn2.Content  = "";
     btn3.Content  = "";
     btn4.Content  = "";
     btn5.Content  = "";
     btn6.Content  = "";
     btn7.Content  = "";
     btn8.Content  = "";
     btn9.Content  = "";
     juego         = new TresEnRaya();
     turnoJugador1 = true;
 }