Skip to content

VLRTroll/Mastermind-Prompt-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mastermind-Prompt-Game

A implementation of Mastermind game to the command line.


Some input formats accepted


Input validation

Rules

  1. Each color is represented by only one digit, so the game can have 9 colors at most (0 not allowed).
  2. The code don't contains color repetition.
  3. Each guess must have exactly k numeric digits, where k is the size of the code (Default code size is 4).

Customization

You can custom the following properties:

  • Number of colors: 5 to 9 colors (default is 8)
  • Code size: 1 to (<n_colors> - 1). (default is 4)
  • Number of tries: 1 at least. (default is 10)

Including the game into your terminal (Windows)

  1. Download this repository ZIP file

  1. Press Windows+R, type C:\Windows and press Enter.

  1. Put the .exe file (inside of the ZIP) in the current directory.

  1. Open the terminal and type "mastermind". Press Enter.

See more

How to convert .py to .exe? (Step by step guide)

https://dev.to/eshleron/how-to-convert-py-to-exe-step-by-step-guide-3cfi

Releases

No releases published

Packages

No packages published

Languages