Esempio n. 1
0
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="other">Protorype board to copy from.</param>
 internal PlayableBoard(PlayableBoard other)
     : base(other)
 {
 }
Esempio n. 2
0
 /// <summary>
 /// Starts a new game.
 /// </summary>
 /// <param name="boardSize"></param>
 /// <param name="fences"></param>
 private void NewGame(int boardSize, int fences)
 {
     _board = new PlayableBoard(boardSize, fences);
     _currentPlayer = PlayerId.First;
     GameFinished = false;
 }