Skip to content

damienxy/tetris-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

Tetris game written in Elixir using Phoenix LiveView, mostly (until commit 20 or so) following this awesome tutorial by Groxio.

Play it here.

Setup

To run this code locally:

  • Have Postgres running
  • Close this repo, cd into tetris-elixir
  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Versions

Elixir 1.14.3 Erlang/OTP 25 Phoenix 1.7.2