Janken (じゃん拳 janken) is the Japanese equivalent of Rock Paper Scissors, but taken to a whole new level in terms of usage and importance in daily life. If there is ever a clash of opinions between two people in Japan, more often than not this potentially embarassing situation will be decided with janken.
Hopefully this will be useful to someone trying to learn Elm!
You will need to have git
and elm
installed.
-
Clone this repository to your local system:
$ git clone https://github.com/jasonu/elm-janken
-
Run elm-reactor which will automaticallly download needed Elm packages and compile the code to JavaScript:
$ elm-reactor
-
Open:
http://localhost:8000/
-
Click on:
janken-random.elm
orjanken-markov.elm