Yet another Tetris game, because everyone loves Tetris!
I did a talk on the game at CodeBeam Europe, you can watch it here:
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.server
Or run it using Docker with:
docker compose up -f docker_dev/docker-compose.yml
Head 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 major
This 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