Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theanht1/vim_snake

Classical multiplayer snake game with Vim-style keybinding
https://github.com/theanht1/vim_snake

elixir multiplayer-game phaser phoenix-framework

Last synced: 8 days ago
JSON representation

Classical multiplayer snake game with Vim-style keybinding

Awesome Lists containing this project

README

        

# Classical multiplayer snake game with Vim-style keybinding
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](https://snake.theanht1.dev) or [Heroku](https://vim-snake.herokuapp.com)

### Preview
![Gameplay Screenshot](./screen_shot.png)

### Requirements

* [Elixir 1.4 or later](https://elixir-lang.org/install.html)
* Erlang 18 or later
* Node.js v8
* PostgreSQL

### Up and Running

* 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`](http://localhost:4000) from your browser.

### Deployment
You can follow [this instruction](https://hexdocs.pm/phoenix/deployment.html) to configure for production

### TODOs
* Re-enable login feature (with FB or Google) for reserving username and saving personal highscore
* Add unit tests