Version 5.2

===========
Corrected another bug in alpha-beta.
This commit is contained in:
2006-06-29 18:45:21 +00:00
parent 4dc083acc1
commit 95deacff45
3 changed files with 44 additions and 19 deletions

View File

@ -44,10 +44,21 @@ public class Board {
*/
public static final int WHITE_WINS = 99999;
/**
* Value representing the maximum value possible for the evaluation function
*/
public static final int MAX_VALUE = WHITE_WINS+1;
/**
* Value returned by the evaluation function when Black wins
*/
public static final int BLACK_WINS = -99999;
/**
* Value representing the minimum value possible for the evaluation function
*/
public static final int MIN_VALUE = BLACK_WINS-1;
/*======*