Tetris game written in Elixir using Phoenix LiveView, mostly (until commit 20 or so) following this awesome tutorial by Groxio.
Play it here.
To run this code locally:
- Have Postgres running
- Close this repo, cd into tetris-elixir
- Run
mix setupto install and setup dependencies - Start Phoenix endpoint with
mix phx.serveror inside IEx withiex -S mix phx.server
Now you can visit localhost:4000 from your browser.
Elixir 1.14.3 Erlang/OTP 25 Phoenix 1.7.2