A simple web version of the famous board game Mastermind.
- Click or touch the code pegs on the right to compose a combination guess.
- Submit it with the button Check.
- Correct it with the button Clear.
Query arguments may be added to URL after '?':
- digits=x : the number of pegs composing the combination (default: 4 ; 1≤x≤8),
- colors=x : the number of colors for pegs (default: 6 ; 1≤x≤8),
- limit=x : the max-number of tries before Game Over (default: 10 ; 1≤x≤20).
Example: https://lenaindelaforetmagique.github.io/MasterMind/?digits=5&colors=4&limit=6
Simple Mastermind is licensed under the MIT License. Distribute and modify at will!
A lot of things were inspired by and copied from Eltzi's Tetris 2048, MIT License.
Gentium Book Basic font from Google Fonts, distributed under the SIL Open Font License, 1.1.