/alum1

Alum1 is a game based on matches. Game vs AI or vs other player

Primary LanguageC

alum1

Gameplay

Alum1 is a mathematical game of strategy in which two players take turns removing objects (matches) from the top heap. On each turn, a player must remove one, two or three objects provided they all come from the same heap. The goal of the game is not to be the player to remove the last object.

Bonus :

  • Possibility to read the map from a file or from STDIN
  • Colors
  • Possibility to choose your opponent (IA or other person)
  • Displaying the map centered
  • Displaying the number of objects left per line

Map (example) :

10
10
12
25
3
2
1  

** Message to 42 students **

You are free to copy, modify and share under your name my exercises. But you will learn nothing, or will have the impression to understand without be able to do it again alone. Be responsible and simply ask for help.

                                                                     omiroshn