Before a big change in the code : different value for each piece
This commit is contained in:
@ -85,6 +85,9 @@ public class Board {
|
||||
|
||||
private int numberOfBlackPieces = NB_OF_FILES*2;
|
||||
private int numberOfWhitePieces = NB_OF_FILES*2;
|
||||
private int[] numberOfPieces = new int[Piece.MAX_PIECE_NUMBER];
|
||||
{ numberOfPieces[Piece.BLACK_BISHOP]=2;
|
||||
}
|
||||
private int boardValue = 0; //evaluation of the board value
|
||||
|
||||
private int currentPlayer; //color of the current player.
|
||||
|
Reference in New Issue
Block a user