Beispiel #1
0
        private static void Demo(IChessBoard board)
        {
            board.SetPiece(new Tuple <int, int>(0, 7), new Knight(Utils.ColorsEnum.Black, new Tuple <int, int>(0, 7)));
            board.ShowBoard();

            board.MovePiece(new Tuple <int, int>(0, 7), new Tuple <int, int>(2, 6));

            board.ShowBoard();

            board.MovePiece(new Tuple <int, int>(0, 7), new Tuple <int, int>(2, 3));

            board.ShowBoard();
        }