lenaindelaforetmagique / MasterMind

A simple project of MasterMind solver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Mastermind

A simple web version of the famous board game Mastermind.

Play it here!

Controls

Mouse/touch

  • 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 string

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

Screenshot!

Screenshot

License

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.

About

A simple project of MasterMind solver

License:MIT License


Languages

Language:JavaScript 46.5%Language:Python 27.2%Language:CSS 19.5%Language:HTML 6.7%