Skip to content

zorro4u/mastermind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python License

Mastermind Game

aka codebreaker / superhirn

Setup

  • interactive user setup
  • code maker / code breaker mode
  • manual or automatic mode
  • changeable number of characters and columns
  • with or without repetition of characters
  • digits or letters encoded
  • automatic response
  • solution notes
  • changeable user language (english, deutsch, français)

Statistic mode

  • changeable solver strategy
  • can use an extern helper file with precalculated responses
  • show histogram, average, time

Solver strategies

  • randomly selected
  • Knuth Algoritm,
    worst-case-strategy, "five-guess-algorithm"
  • Kooi Algorithm,
    most-parts-strategy, most best average
  • Irving Algorithm,
    expected-size-strategy

Screenshots

mastermind_digitsmastermind_lettersmastermind_statistic

References

About

Mastermind Game (code breaker) ... with an interactive setup, statistic loop and various algorithms, CLI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages