uebung02 aufgabe 1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user