dev: Continue to write the chess logic, working through it bit by bit

This commit is contained in:
A.M. Rowsell 2025-08-03 13:11:30 -04:00
commit ba64e2bcf3
Signed by untrusted user who does not match committer: amr
GPG key ID: E0879EDBDB0CA7B1
4 changed files with 96 additions and 15 deletions

View file

@ -24,11 +24,12 @@ private:
public:
Board();
~Board();
virtual ~Board();
void setupInitialPosition();
Piece *getPieceAt(int x, int y) const;
Piece *getPieceAt(Square square) const;
void movePiece(Square from, Square to);
bool isInBounds(int x, int y) const;
bool isInBounds(Square square) const;
bool isEmpty(Square square) const;
uint64_t serialBoard = 0xFFFF00000000FFFF; // opening position
void deserializeBoard(uint64_t incomingBoard);
};