This is a project using Phoenix framework and Phaser to make a multiplayer snake game, inspired by vimsnake.com
Live demo can be found on snake.theanht1.dev or Heroku
- Elixir 1.4 or later
- Erlang 18 or later
- Node.js v8
- PostgreSQL
- Install package
mix deps.get
cd assets && npm i && cd ..
- Create and migrate database
mix ecto.create
mix ecto.migrate
- Start dev server
mix phx.server
Now you can visit localhost:4000
from your browser.
You can follow this instruction to configure for production
- Re-enable login feature (with FB or Google) for reserving username and saving personal highscore
- Add unit tests