Esempio n. 1
0
        public Board CreateAndPrepareBoard()
        {
            var board = new Board();

            board.Accept(new BlackTowerVisitor());
            board.Accept(new BlackBishopVisitor());
            board.Accept(new BlackChessPawnVisitor());
            board.Accept(new BlackHorseVisitor());
            board.Accept(new BlackKingVisitor());
            board.Accept(new BlackQueenVisitor());
            return(board);
        }