Yet another Tetris game, because everyone loves Tetris!
For the accompanying talk to this project see Building Multiplayer Tetris from Scratch with OTP, Elixir and Phoenix.
The easiest way to play is to head on over to https://tetrex.fly.dev/
If you'd like to run it locally, you can do so with:
mix phx.serverOr run it using Docker with:
docker compose up -f docker_dev/docker-compose.ymlHead on over to http://localhost:4000 and you're in!
Features:
- It's Tetris, so all the basic Tetris stuff
- Your game is saved automatically, so you can safely close your browser tab and come back
Upcoming:
- Multiplayer battles!
You can find a huge diagram explaining how everything works in great detail on this Miro board.
The version is bumped using the excellent Versiose package.
You can do this with:
mix bump patch
#OR
mix bump minor
#OR
mix bump majorThis will only succeed if you have no uncommitted git changes. It will create an update commit for you, tagging the new version.
To deploy: fly deploy
