Example #1
0
 private ReversiGame(ReversiBoard board, Player currentPlayer)
 {
     this.Board         = board;
     this.CurrentPlayer = currentPlayer;
 }
Example #2
0
 /// <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
 }