A simple game of n Matchsticks implemented in C++ Game Description: It is a two-player game. There are initially n number of matchsticks present. Each player can pick up maximum x(can be any integer > n; decided at the beginning of the game) & minimum 1 matchstick(s), in his/her turn. The player who remains with one matchstick, looses the game.
pranavbudhwant / nmatchsticks Goto Github PK
View Code? Open in Web Editor NEWA simple game of n Matchsticks implemented in C++