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