Skip to content

NihalPotdar/Mastermind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mastermind

http://www.archimedes-lab.org/mastermind.html - always solves! This is a program that always solves the mastermind game, that is when the guessess are for a sequence of 4 colors, with 6 colors being the maximum amoutn of colors available. It works to achieve its task, by using an array to store all of the possible solutions and then, gradually categorizing them as true or false, by using a boolean array, when told about the numbe of colors in the correct spot and the number of colors in the wrong spot.

About

This algorithm, always solves the mastermind game in 5 attempts or less.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages