Skip to content

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

License

Notifications You must be signed in to change notification settings

brianstorti/jan

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published