This project implements the game of Reversi using the C programming language.
Run gcc reversi.c -o reversi
.
Run ./reversi
.
The game can be played by two human players or by one human player against the machine. The current player is shown in the bottom of the screen. The valid plays are shown in the board by an asterisk ('*') mark. The player should input the position of the next play indicating, respectively, the column and row to place the next piece (e.g.: "C4"). The game ends when there are no moves left for both players or when the board is completely filled.
- Create a board (DONE)
- Create piece markers (DONE)
- Define turn (DONE)
- Mark valid move positions (DONE)
- Display board (DONE)
- Display current player (DONE)
- Prompt next move (DONE)
- Make move (DONE)
- Change captured pieces (DONE)
- End game (DONE)
- Use ncurses to better control the screen
- Pretify