Version 5.2
=========== Corrected another bug in alpha-beta.
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
|
||||
/*======*
|
||||
|
Reference in New Issue
Block a user