예제 #1
0
 /// <summary>
 /// Changes the turn of the player!
 /// </summary>
 private void ChangePlayerTurn()
 {
     if (playerTurn == Shape.X)
     {
         playerTurn = Shape.O;
         Displayer.BeepSound(1100, 300); // Sound!
     }
     else
     {
         playerTurn = Shape.X;
         Displayer.BeepSound(1100, 300); // Sound!
     }
 }