A two player chess game implemented by C language with console interface.
- New: to start a new game
- Save: at first this option is disabled (will see it later)
- Load: to load one of the previously saved games.
When you start a new game you're prompted to enter the players name (players are obliged to choose differnet names).
- The tomb: in the upper part lies the tomb where each player's captured pieces are listed.
- The Board: the chess board in the middle
- Hints: in the right part, there're some hints about options to do while playing like:undo, redo, and showing the main menu.
- Prompt: in the lower part, the player is prompted to enter his move (the player's name and color of his pieces is mentioned).
- Resume: to resume the current game.
- Save: now the "save" option is enabled and you can save the game where it's added the "Load list".
Each player moves his own pieces by typing the coordinations of the desired piece to move followed by the Destination.
for example
B7B6
If it's an illegal move it's discarded and the player is prompted and asked to enter a new move again. When an legal move is entered the move is applied and the next player take the turn.
You can save or load a game through the previous menu.
You can undo or redo a move by hitting the keys U,R respectively on your keyboard.
A2A3
B7B4
D7D5
-
The game is won by checkmate.
-
The game may end in a draw by stalemate.