Skip to content

osamalii/Mastermind-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Mastermind-game

The goal of this project is to make the MasterMind game using Shell script sh (The Shell is the program that manages command prompt.) MasterMind is a logic game in which you have to find a combination of 4 to 5 different colors among 9 (resp 10). The machine chooses a combination then the player has a maximum of 10 turns to find it. Each time the player offers a combination, the script must determine automatically how many letters are good placed, how many are misplaced, and display these numbers. To start a game, you must have an account(Locally stored in joueurs.txt). in the game, you can save your progress to continue afterwards. Game's Menu:

 ~~~~~~~~~~~~~~~~~~~~~
   M A I N - M E N U
 ~~~~~~~~~~~~~~~~~~~~~
 1. Register
 2. Login
 3. Start
 4. Continue
 5. Save
 6. Description
 7. vainqueurs
 8. Quit

To play your first game:

  1. Download Mastermind.sh
  2. Grant execution permission(chmod)
  3. In the terminal type: ./mastermind.sh (inside misterdmind.sh 's Directory)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages