Version 0.3 beta 3:
Computer can now play black and white For some reason the computer cannot play against himself. I think it must be because of force that is not understood.
This commit is contained in:
@ -162,6 +162,7 @@ public class Rules {
|
||||
}
|
||||
if (board.getPiece(toSquare).getPieceNumber()!=Piece.NONE) {
|
||||
normalMove= false; //cannot move forward if there is a piece
|
||||
bigJump=false;
|
||||
}
|
||||
if (captureLeft&&
|
||||
((board.getPiece(toCaptureLeftSquare).getColor()==Piece.NO_COLOR)
|
||||
|
Reference in New Issue
Block a user