Added Board class constructor
This commit is contained in:
1 parent
076ce9b904
commit
ae93be7935
2 files changed
+4
-1
No files matched your search
@@ -9,6 +9,10 @@ class Board {
|
|||||||
private:
|
private:
|
||||||
std::vector<Move> moveList;
|
std::vector<Move> moveList;
|
||||||
public:
|
public:
|
||||||
|
Board() {
|
||||||
|
Init();
|
||||||
|
}
|
||||||
|
|
||||||
std::array<Bitboard, 6> pieces;
|
std::array<Bitboard, 6> pieces;
|
||||||
std::array<Bitboard, 2> colors;
|
std::array<Bitboard, 2> colors;
|
||||||
Bitboard occupied;
|
Bitboard occupied;
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ int main() {
|
|||||||
initSliderAttacks();
|
initSliderAttacks();
|
||||||
|
|
||||||
Board board;
|
Board board;
|
||||||
board.Init();
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user