small refactor in board
This commit is contained in:
1 parent
4fc940c57e
commit
9c3b76d6a0
2 files changed
+5
-6
No files matched your search
+3
-2
@@ -13,12 +13,13 @@ inline U64 positionHistory[1000];
|
||||
class Board {
|
||||
public:
|
||||
Board() {
|
||||
Init();
|
||||
SetByFen(StartingFen);
|
||||
}
|
||||
|
||||
std::array<Bitboard, 6> pieces;
|
||||
std::array<Bitboard, 2> colors;
|
||||
U64 attackMaps[2][64];
|
||||
std::array<std::array<U64, 64>, 2> attackMaps;
|
||||
//U64 attackMaps[2][64];
|
||||
|
||||
Bitboard occupied;
|
||||
|
||||
|
||||
Reference in new issue
Block a user