Version 5.0
=========== Alpha-beta pruning is the only main change.
This commit is contained in:
@ -264,12 +264,12 @@ public class Board {
|
||||
|
||||
if(currentPlayer==Piece.WHITE) {
|
||||
currentPlayer=Piece.BLACK;
|
||||
if (SuicideChess.ASCII_GAME)
|
||||
System.out.println("Black: ");
|
||||
//if (SuicideChess.ASCII_GAME)
|
||||
// System.out.println("Black: ");
|
||||
} else {
|
||||
currentPlayer=Piece.WHITE;
|
||||
if (SuicideChess.ASCII_GAME)
|
||||
System.out.println("White: ");
|
||||
//if (SuicideChess.ASCII_GAME)
|
||||
// System.out.println("White: ");
|
||||
}
|
||||
|
||||
evaluateNewBoardValue(move);
|
||||
|
Reference in New Issue
Block a user