encapsualted position index and array | bench 1857933
This commit is contained in:
1 parent
b669fa329e
commit
3225b9c665
8 files changed
+19
-28
No files matched your search
+2
-3
@@ -10,9 +10,6 @@ constexpr int noEPTarget = -1;
|
||||
|
||||
constexpr int MAX_MOVES = 218;
|
||||
|
||||
inline int positionIndex = 0;
|
||||
inline U64 positionHistory[1000];
|
||||
|
||||
class Board {
|
||||
public:
|
||||
Board() {
|
||||
@@ -37,6 +34,8 @@ public:
|
||||
uint8_t castlingRights = 0;
|
||||
int enPassantTarget = noEPTarget;
|
||||
|
||||
short positionIndex = 0;
|
||||
|
||||
int halfMoves = 0;
|
||||
int fullMoves = 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user