Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 797 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 797 Bytes

Tetris on Rails

Game developed for the ticket contest for Euruko 2023.

tetris on rails game screen

Disclaimer: This code was created for fun and for fun only. It has obvious design flaws and is not perfect by any standards. But it was awesome to write and to share with all Euruko fans.

How to play

Organize bricks and answer questions.

Gl & HF !

How to install

$ bundle
$ rails db:create
$ rails db:migrate

How to run locally

# 1st terminal
$ rails s

# second terminal
$ rails game:start

or with foreman

$ gem install foreman
$ PORT=3000 foreman start

then open http://localhost:3000

How to debug

Increase logging level of the game loop by changing the log level.

LOG_LEVEL=debug rails game:start