To start tetris:
- Install dependencies with
mix deps.get
- Start Phoenix endpoint with
mix phoenix.server
or interactively withiex -S mix phoenix.server
Now you can visit localhost:4000
from your browser.
To start a new game, from iex:
Tetris.restart_game
I did a talk through the first 25 commits of this. You can check out the slides here