This commit is contained in:
rektdie authored and GitHub committed 2024-03-01 02:07:11 +01:00
1 parent 38c2182dee
commit 98e3f3ca87
6 files changed
+48 -153

No files matched your search

+4
View File
@@ -19,6 +19,10 @@ void Bitboard::PrintBoard() const {
std::cout << " a b c d e f g h\n\n";
}
U64 Bitboard::GetBoard() const {
return m_board;
}
bool Bitboard::IsSet(int square) const {
return (1ULL << square) & m_board;
}