Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 759 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 759 Bytes

Tetris GUI implementation using Phoenix LiveView.

This project was developed while following Bruce Tate's Quadblock series. My implementation includes pause game (triggered when pressing Esc key), next shape and Player Ranking features. Additionally, I added typespecs and some metaprogramming to my code base.

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000/tetris from your browser.

The low level game logic can be found here.

Tetris in action