Skip to content

About

The mastermind game in Elm.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

Mastermind

A game of mastermind, built in Elm.

The game

In mastermind the goal is the find the sequence of colors, in as few attempts as possible. For every combination you submit, you will receive a hint about how many colors:

  • Color and position matches (✔)
  • Color matches, but position differs (♦)

Where can I play it?

This game is available to play here.

Building it yourself

The toolchain (Elm compiler and elm-format) is installed through npm:

npm install
npm run build            # writes index.html
npm run build:optimized  # writes optimized-index.html
npm run format           # elm-format the sources
npm run format:check     # verify formatting without writing

Elm packages are declared in elm.json; the compiler downloads them into elm-stuff/ on the first build.

More resources

About

The mastermind game in Elm.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages