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 PromoteTest extends Simulator{
@Override
protected List<Move> getMoves() {
List<Move> moves = Arrays.asList(
return Arrays.asList(
// white pawn
new Move(new Coordinate(5, 6), new Coordinate(5, 4)),
// black pawn
@@ -33,7 +33,6 @@ public class PromoteTest extends Simulator{
// black king
new Move(new Coordinate(5, 2), new Coordinate(6, 2))
);
return moves;
}
}