コード例 #1
0
        public Board(int size)
        {
            this.board       = new Marker[size * size];
            victoryCondition = new VictoryCondition();

            ClearBoard();
        }
コード例 #2
0
        public Board(Board other)
        {
            this.board = new Marker[other.Size * other.Size];

            victoryCondition = new VictoryCondition();

            for (int i = 0; i < this.board.Length; i++)
            {
                this.board[i] = other.GetMarkAtIndex(i);
            }
        }