示例#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";