Version: 1.0.0
A simple text-based JavaScript "Mastermind" game.
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:
- Anko's JavaScript example (search the page for "Same in JS")
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)!
- Place
index.html
and thejs
directory (containinggame.js
) in your web server's root directory
- Load
index.html
in your browser and you should see the game board loaded with instructions on how to play - 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)
- 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)
- You will get one white marker for each letter that is contained in the code but in the wrong position
Release Date: April 15, 2016
- Initial release