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