The goal of this project, based on a famous Matchstick game, is to create a program that you can play against.
Every turn, each player can, on a same line, take one or several matchsticks. The one to remove the last matchstick loses.
Clone the repository:
git clone https://github.com/MayaHill/Matchstick.git
To compile:
make
Update:
git pull && make re
./matchstick [l] [m]
l = number of lines
m = maximum number of matches that can be taken out each turn
(Example: ./matchstick 5 5)