private ReversiGame(ReversiBoard board, Player currentPlayer) { this.Board = board; this.CurrentPlayer = currentPlayer; }
/// <summary> /// Creates a new game with the given board dimensions. /// </summary> /// <param name="boardWidth">Board width.</param> /// <param name="boardHeight">Board height.</param> public ReversiGame(int boardWidth, int boardHeight) : this(ReversiBoard.CreateInitialState(boardWidth, boardHeight), Player.BLACK) { // NOP }