/// <summary> /// Copy constructor. /// </summary> /// <param name="other">Protorype board to copy from.</param> internal PlayableBoard(PlayableBoard other) : base(other) { }
/// <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; }