A Breakoutex clone written in pure Elixir, using Phoenix LiveView. Can be played here
Clone the repo
$ git clone https://github.com/neslinesli93/breakoutex
Start the container:
$ docker-compose run --service-ports app
Install npm deps:
$ cd assets && npm i && cd ..
Start server:
$ ./run.sh # executes mix deps.get && mix phx.server
Now you can visit localhost:4000
from your browser.
To build an image ready for production, run:
$ make build
This will build a new docker image, which can be pushed to some registry. If you want to test the production image locally, just run:
$ make run
And open http://localhost:4000
. See Makefile
for more info on the two command.
Boilerplate taken from here
- Lose game
- Win game
- Function to call in order to receive a new, updated ball instance
- Progressive ball acceleration
- CSS of the page
- Use coordinates of the center of the ball?
- Use coordinates of the center of the paddle?
- Refactor everything NOT to use integer matrix coordinates, and instead compute everything inside config file?
- Transfer the project on a fresh, clean mix one (just like the guy that made the board game)
- How to deploy?
- Article(s) or tutorial?
- Instructions for deploying