Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mastermind

This is a command line version of Mastermind, a puzzle board game from 1971. I completed this as part of The Odin Project's Ruby curriculum.

Game instructions

Screenshot 2025-05-20 at 15 25 46

You can play it either as the person guessing the secret code, or you can set the secret code yourself and let the computer guess.

Running instructions

To be able to run it, you'll need to have ruby installed. It also requires the colorize gem, as defined in the gem file. If you have bundler set up, you can just run:

bundle install
ruby mastermind.rb

Or you can just do:

gem install colorize

Once colorize has been installed, all you have to do is run:

ruby mastermind.rb

About

Code breaking board game implemented as a Ruby CLI application

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages