King: finalizing check detection and getLegalMoves()
This commit is contained in:
parent
7fad5e53af
commit
22ac250f70
4 changed files with 38 additions and 13 deletions
|
|
@ -35,6 +35,7 @@ class Board {
|
|||
void setupInitialPosition();
|
||||
Piece *getPieceAt(Square square);
|
||||
void movePiece(Square from, Square to);
|
||||
int setupFromFEN(std::string strFEN);
|
||||
bool isInBounds(Square square) const;
|
||||
bool isEmpty(Square square) const;
|
||||
uint64_t serialBoard = 0xFFFF00000000FFFF; // opening position
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue