https://github.com/thiagoesteves/ex_snake
A snake game using phoenix liveview
https://github.com/thiagoesteves/ex_snake
elixir game game-development otp phoenix phoenix-elixir phoenix-liveview
Last synced: 11 months ago
JSON representation
A snake game using phoenix liveview
- Host: GitHub
- URL: https://github.com/thiagoesteves/ex_snake
- Owner: thiagoesteves
- Created: 2023-03-17T18:52:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-06T21:53:38.000Z (about 3 years ago)
- Last Synced: 2025-07-04T12:08:06.379Z (12 months ago)
- Topics: elixir, game, game-development, otp, phoenix, phoenix-elixir, phoenix-liveview
- Language: Elixir
- Homepage:
- Size: 364 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/thiagoesteves/ex_snake/actions/workflows/develop.yml)
[](https://github.com/erlang/otp/releases/tag/OTP-24.0)
# Game webserver written in Elixir + Phoenix Liveview

The app has the same core game written in [Erlang](https://github.com/thiagoesteves/erlgame) and [Elixir](https://github.com/thiagoesteves/elisnake) but it is using phoenix as webserver and liveview to connect the templates with the server. It is part of the liveview studies.
# Compile and run the application
To start your Phoenix server:
* Run `mix setup` to install and setup dependencies
* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).
## Deploy [Docker]
### Create a docker image to deploy
The next command will create and publish your application image into the docker
```
make docker.build
```
### Deploy using helm (Running locally)
```
make local.deploy.install
```
### Uninstall deployment
```
make local.deploy.uninstall
```
## Learn more
* Official website: https://www.phoenixframework.org/
* Guides: https://hexdocs.pm/phoenix/overview.html
* Docs: https://hexdocs.pm/phoenix
* Forum: https://elixirforum.com/c/phoenix-forum
* Source: https://github.com/phoenixframework/phoenix