Version 5.0

===========
Alpha-beta pruning is the only main change.
This commit is contained in:
2006-06-25 13:26:08 +00:00
parent 1a54cfd06f
commit feea4b103b
3 changed files with 125 additions and 13 deletions

View File

@ -33,7 +33,7 @@ public class SuicideChess {
/**
* The name to be displayed
*/
public static final String NAME = "djib's SuShi (Suicide Chess) v0.4.3";
public static final String NAME = "djib's SuShi (Suicide Chess) v0.5";
/**
* Displays informations in the console.
@ -43,7 +43,7 @@ public class SuicideChess {
/**
* Number of Plies the computes searches to
*/
public static final int PLY_DEPTH = 4;
public static final int PLY_DEPTH = 6;
/**
* Test and display if the board is in a winning state.
@ -276,7 +276,7 @@ public class SuicideChess {
}
if (computerPlaying) {
Move computerMove = ComputerPlayer.doMinMaxMove(bitboard);
Move computerMove = ComputerPlayer.doAlphaBetaMove(bitboard);
bitboard.doMove(computerMove);
addPlayedPosition(bitboard);
XBoardProtocol.doMove(computerMove);