This is a two-player chess implementation in C++. All chess rules apply except castling.
Clone repository to compile, build, and play in the command line.
mkdir buildcd build->cmake ..cmake --build ../chess
- The chess board is displayed as a grid - columns are lettered
a-hand rows are numbered1-8. - To play, enter a square containing a piece
ex. e2 - Then enter a square you want to move the piece to
ex. e4 - If it is a valid move, the updated board will re-print and the other player will be prompted to move
-
Enable help mode with the
-hsuffix during step 2 for a list of possible moves for the selected piece -
Help mode will remain on until turned off - turn off help mode during step 3 or 4 with the
-hxsuffix -
All moves are logged - to view the log for the current game, type
lat any time. -
To quit, type
qat any time.