MemoryGame.js

June 14, 2016 ยท View on GitHub

This is a fork of Mark Rolich original version so that I could insert images instead of simple font icons.

It also adds a "hard" difficulty mode.

Demo: https://chezsoi.org/lucas/MemoryGame/

Pro tip

Using jq, you can quickly generate a starting point for your own MemoryGame.json from a directory of images :

$ ls pics/ | jq --raw-input --slurp '{pics: split("\n")[:-1]}' > MemoryGame.json