Skip to content

CodingShawn/TOP-Ruby-Mastermind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TOP-Ruby-Mastermind

User Interface:
A code consisting of 4 coloured pins will be set. Players have to make a guess of the order and colour of the coloured pins. Feedback will be given to show how close players' guess were to the answer with white pins showing correct color but incorrect position, black pins showing correct color and correct position.

Input:
Guess of order and colour of 4 pins.

Output:
Feedback on how close the guess is or when correct guess has been made or when game is over

AI:
Tweaked algorithmn till computer is able to get 68.5% correct guesses in 100000 tries

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages