Home

Awesome

Jan

A rock paper scissors game written in Elixir and Elm.

Try it.

demo

Disclaimer: This is the first thing I try to build with Elm and Elixir, so the code is certainly not exemplary. Feedbacks are appreciated.

Running it locally

Jan is a normal Phoenix application, so the steps to run it are pretty standard, assuming you have Elixir and Elm installed:

$ mix deps.get && npm install && mix phoenix.server

It should be running at http://localhost:4000.

To run the tests:

$ mix test

Looking at the code

If you interested in the Elm part, you should take a look at Jan.elm and socket.js.
For the Elixir code, probably the RoomChannel and the GameServer modules.