Esempio n. 1
0
 private void timer_Tick(object sender, EventArgs e)
 {
     BoardControl.Refresh();
     Text = Locale.T("TicTacToe") + "- " + (game.PlayerOnTurn == Game.Mark.X ? Locale.T("ItsXTurn") : Locale.T("ItsOTurn"));
     if (game.Skippable)
     {
         Text += " - " + Locale.T("PressEscToPassTheTurnToYourOpponent");
     }
     Check4Win();
 }
Esempio n. 2
0
 private void BoardControl_Resize(object sender, EventArgs e)
 {
     BoardControl.Refresh();
 }