Пример #1
0
 private Game(string playerX, string playerO, GameTurn turn)
 {
     this.Cells   = new TicTacToe.Cell[3 * 3];
     this.PlayerX = playerX;
     this.PlayerO = playerO;
     this.Turn    = turn;
 }
Пример #2
0
 public static string Marker(this GameTurn turn) => turn.Value ? "O" : "X";