Skip to content

SuiteBee/Mastermind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mastermind

Goal

The objective is to guess a pseudorandomly generated passcode made up of x digits and you have y attempts to guess correctly

(default: x=4, y=10)

Rules

  1. The numbers can be any random integer within a given range (default: 1-6)
  2. Each guess will result in a hint being provided
  3. A number with the correct value and CORRECT position will be awarded a (+)
  4. A number with the correct value and INCORRECT position will be awarded a (-)

Note

The hint does not specify which digits are correct

Example

If the secret code is: 1234

And the entered guess is: 4233

The hint provide is: ++-

Screenshots

Start

start

Gameplay

gameplay

Success

success

Gameover

gameover

About

Console based code guessing game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages