Skip to content

Mastermind implementation in Ruby, along with AI that solves code pretty fast (most of the time needs 5 guesses or less, sometimes 7)

License

Notifications You must be signed in to change notification settings

dudekowsky/rubymind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just load code onto your machine, load lib/rubymind.rb in IRB, and either enter "Game.new" or "AI.new"

Didn't make it robust, didn't make it pretty, but AI needs only 5 Steps most of the time.

About

Mastermind implementation in Ruby, along with AI that solves code pretty fast (most of the time needs 5 guesses or less, sometimes 7)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published