Skip to content

mjftw/Tetrex

Repository files navigation

Tetrex

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.

IMAGE ALT TEXT HERE

How to play

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

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!

Documentation

You can find a huge diagram explaining how everything works in great detail on this Miro board.

Developer things

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

About

Yet another Tetris game, because everyone loves Tetris!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •