Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/theanht1/vim_snake
- Owner: theanht1
- License: mit
- Created: 2018-11-20T13:25:04.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T17:54:55.000Z (10 months ago)
- Last Synced: 2024-08-02T02:12:04.705Z (3 months ago)
- Topics: elixir, multiplayer-game, phaser, phoenix-framework
- Language: Elixir
- Homepage: https://snake.theanht1.dev
- Size: 2.26 MB
- Stars: 22
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - A classical multiplayer snake game with Vim-style keybinding built with Phoenix framework. (Games)
- fucking-awesome-elixir - vim_snake - A classical multiplayer snake game with Vim-style keybinding built with Phoenix framework. (Games)
- awesome-elixir - vim_snake - A classical multiplayer snake game with Vim-style keybinding built with Phoenix framework. (Games)
- awesome-elixir-gaming - Vim Snake: Phaser VimSnake clone using Phoenix
- awesome-elixir-gaming - Vim Snake: Phaser VimSnake clone using Phoenix
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.comLive 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