Added moveList to Board class + some helper functions
This commit is contained in:
1 parent
d0d7af4a79
commit
076ce9b904
4 files changed
+24
-4
No files matched your search
+4
-2
@@ -6,11 +6,13 @@ public:
|
||||
SQUARE moveFrom;
|
||||
SQUARE moveTo;
|
||||
|
||||
Move(){}
|
||||
|
||||
Move(const SQUARE from, const SQUARE to)
|
||||
: moveFrom(from), moveTo(to) {}
|
||||
};
|
||||
|
||||
void doMove(Move move);
|
||||
void PrintMove();
|
||||
};
|
||||
|
||||
// bishop relevant occupancy bit count
|
||||
constexpr int bishopRelevantBits[64] = {
|
||||
|
||||
Reference in new issue
Block a user