https://github.com/bfontaine/reversi
Reversi game for the C class (LC4)
https://github.com/bfontaine/reversi
c cli game paris-diderot reversi
Last synced: over 1 year ago
JSON representation
Reversi game for the C class (LC4)
- Host: GitHub
- URL: https://github.com/bfontaine/reversi
- Owner: bfontaine
- Created: 2012-04-19T20:22:35.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-05-20T17:20:50.000Z (about 14 years ago)
- Last Synced: 2025-03-23T23:43:41.731Z (over 1 year ago)
- Topics: c, cli, game, paris-diderot, reversi
- Language: C
- Size: 559 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Reversi
=======
This is a Reversi game for the C class. The project ended on the 20/05/2012, so
this repository is now open.
Usage
-----
- Compiling: `make`
- Playing: `./othello --play`
Use these commands to play:
- `affiche` : print the board
- `coups` : print possible moves
- `newgame` : new game
- `score` : print the current player's score
To make a move, the command has 3 chars: The first is the name of the current
player (B for White (*Blanc* in French), and N for Black (*Noir* in French)).
The next two chars are `PA` if the player wants to pass his turn, or a square
name (e.g. `B6`, `H2`). For example, if the current player is White and wants to
play in C3, type:
BC3
The program responds with "OK" if the move is ok, "ERREUR …" if there is an
error.