working castling on console + app to play either mode

This commit is contained in:
Janet-Doe
2025-04-14 11:19:45 +02:00
parent 91678a42b2
commit 3bea2eeb2d
6 changed files with 119 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ public class FoolCheckMate extends Simulator {
@Override
public List<Move> getMoves() {
List<Move> moves = Arrays.asList(
return Arrays.asList(
// white pawn
new Move(new Coordinate(5, 6), new Coordinate(5, 5)),
// black pawn
@@ -24,7 +24,5 @@ public class FoolCheckMate extends Simulator {
new Move(new Coordinate(6, 6), new Coordinate(6, 4)),
// black queen
new Move(new Coordinate(3, 0), new Coordinate(7, 4)));
return moves;
}
}