Compare commits
No commits in common. "da28e94c019618324a005c5be8120fe554e53034" and "a22d229c0179f2096d6a9bc929401a25d64384f9" have entirely different histories.
da28e94c01
...
a22d229c01
|
|
@ -13,8 +13,8 @@ class BestMoveSearcher {
|
|||
static int getPositionBaseValue(Position position) {
|
||||
if (LegalMoves.isCheckmate(position)) {
|
||||
return position.isWhiteTurn
|
||||
? Numbers.minInteger
|
||||
: Numbers.maxInteger;
|
||||
? Numbers.maxInteger
|
||||
: Numbers.minInteger;
|
||||
}
|
||||
int value = 0;
|
||||
List<int> whitePawnFiles = List.filled(8, 0, growable: false); // isolated pawns, doubled pawns
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ class Numbers {
|
|||
|
||||
Numbers._();
|
||||
|
||||
static const int maxInteger = 0x7FFFFFFF;
|
||||
static const int minInteger = -0x7FFFFFFF;
|
||||
static const int maxInteger = 0x7FFFFFFFFFFFFFFF;
|
||||
static const int minInteger = -0x7FFFFFFFFFFFFFFF;
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue