Vatoth / CPE_2016_matchstick

Leave the last matchstick !

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CPE_2016_matchstick

Leave the last matchstick !

This project is based on a very famous game based on matchsticks. There is a certain number of matchstick lines. The two players take turns; each player can, on a same line, take one or several matchsticks. The losing player is the one to take the last matchstick.

Prerequisites

What things you need to install the matchsticks

GlibC , GCC and make

Installing

There is a Makefile in the repository

make

USAGE

./matchstick <n matchstick lines (1 ≤ n ≤ 100)> <number of matches that can be taken out each turn>

Authors

Made with love at Epitech Paris in 2017

About

Leave the last matchstick !


Languages

Language:C 95.2%Language:Makefile 4.8%