Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
/ alum1 Public archive

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

Notifications You must be signed in to change notification settings

omiroshn/alum1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published