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:
|
||||
std::vector<Move> moveList;
|
||||
public:
|
||||
Board() {
|
||||
Init();
|
||||
}
|
||||
|
||||
std::array<Bitboard, 6> pieces;
|
||||
std::array<Bitboard, 2> colors;
|
||||
Bitboard occupied;
|
||||
|
||||
@@ -8,7 +8,6 @@ int main() {
|
||||
initSliderAttacks();
|
||||
|
||||
Board board;
|
||||
board.Init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user