working castling on console + app to play either mode
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user