Skip to content
Snippets Groups Projects
Commit 5e91065b authored by Bariatti Francesco's avatar Bariatti Francesco
Browse files

Implemented get()

parent 589cf9a4
No related branches found
No related tags found
No related merge requests found
......@@ -86,8 +86,7 @@ namespace game
bool morpion::get(uint64_t bitboard, uint8_t col, uint8_t row) const
{
//TODO: Implement
return false;
return bitboard & (1LL << (3*row)) << col;
}
//#define set(bitboard, col, row) (bitboard |= (1LL << (((col) << 3) + (row))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment