First year Epitech project in C. It aims at reproducing the Nim game with an AI. It is part of the Elementary programming in C module.
To try to beat the AI (it is really not a big deal), run make
in order to compile the binary. Proceed to run ./matchstick line max
with line and max being respectively the number of line of the pyramid and max the maximum amount of matches that a player can withdraw in one turn.
17.5/20
No style errors.
- Initial display of 4x4 board: 3/3
- Bad Inputs: 12/12
- Full games: 20/20
- More full games: 4/4
- AI effectiveness: 5/10