Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.5 KB

README.md

File metadata and controls

34 lines (19 loc) · 1.5 KB

Monstermind

Version: 1.0.0

A simple text-based JavaScript "Mastermind" game.

Description

This was inspired by the classic Mastermind game (invented by Mordecai Meirowitz), which my son received as an Easter gift.

This project builds on ideas from various sources, among them:

No attribution is necessary to use Monstermind; I hope you'll have as much fun playing it as my kids and I have (and maybe learn a bit about how localStorage works, in the process)!

Installation

  1. Place index.html and the js directory (containing game.js) in your web server's root directory

How To Play

  1. Load index.html in your browser and you should see the game board loaded with instructions on how to play
  2. You have 10 guesses to determine the correct code (consisting of a 4 character-long string made up of a random sequence of the letters 'A' through F)
  3. You will get one black marker for each letter that you guess correctly (e.g., it is the correct letter in the correct position in the code sequence)
  4. You will get one white marker for each letter that is contained in the code but in the wrong position

Changelog

1.0.0

Release Date: April 15, 2016

  • Initial release