Skip to content

mitch3lljones/mastermind-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mastermind

Table of Contents

Information

Here's a new game for you! Play Mastermind straight from your console! All the files you will need to run this are in this repository with the instructions in the instructions section. This program is built using Ruby v2.6.3p62. Lastly, this program can be run on repl.it. Just follow the following link!

Run on Repl.it

Status

At this time, the project is finished.

Instructions

To run this program, Ruby v2.6.3p62 (or a compatible version) will need to be installed. To check the version of ruby you are using, run this command in terminal:

ruby -v

If ruby is not installed, follow these instructions to install it. After ruby is installed, you should clone this repositroy to a place easily accessible to you using this command in terminal:


Your github username and password should be requested. If not, don't worry about it. After the repository is cloned, you will need to change the directory to where the game example is saved. To do this, run this command next:

cd [LOCATION_OF_CLONED_REPOSITORY]

Once the repository is cloned, you can run the game! To do this, run this command:

ruby mastermind.rb

Have fun!