Skip to content

ahornerr/Matrix-Pointe-Mastermind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix Pointe Software Mastermind console application

Author

Andy Horner

Description

An implementation of the code-breaking game, Mastermind, in Node.js

Requirements

Setup

To setup the game, please run the following command to install dependencies:

npm install

Configuration

The maximum number of chances a player gets to guess the code can be configured in the config.json file. If this file does not exist, it will be recreated on the next run of the game and maxGuesses will default to 10. The max number of guesses can also be specified at runtime with the --maxGuesses switch. For example:

node mastermind.js --maxGuesses 15

Run

To run the game, please run the following command:

node mastermind.js

About

Matrix Pointe Software Mastermind console application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published