fuatto / jan

A multi-player rock-paper-scissors game written in Elixir and Elm

Home Page:https://jkp.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jan

A rock paper scissors game written in Elixir and Elm.

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.

About

A multi-player rock-paper-scissors game written in Elixir and Elm

https://jkp.herokuapp.com/

License:Other


Languages

Language:Elixir 72.6%Language:Elm 9.9%Language:JavaScript 9.3%Language:CSS 4.7%Language:HTML 3.6%