uebung02 aufgabe 1

This commit is contained in:
2025-04-28 15:15:53 +02:00
parent 15893d7bb8
commit bb54a8a684
4 changed files with 45 additions and 1 deletions

View File

@@ -5,6 +5,8 @@ public class ChessApp {
final Piece p2 = new Piece(Kind.QUEEN, Color.WHITE, board, 4, 8);
final Piece p3 = new Piece(Kind.KNIGHT, Color.WHITE, board, 3, 3);
final Piece p4 = new Piece(Kind.KNIGHT, Color.BLACK, board, 4, 6);
final Piece p5 = new Piece(Kind.ROOK, Color.BLACK, board, 7, 6);
final Piece p6 = new Piece(Kind.ROOK, Color.WHITE, board, 7, 2);
board.printBoard(System.out);
board.check(System.out);
}