Skip to content
80x23 terminal tetris!
Branch: master
Clone or download
Latest commit 5c80af5 Apr 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add a Makefile Mar 31, 2019
Makefile Add a Makefile Mar 31, 2019
README.md tinytetris Mar 30, 2019
animation.gif img compression Apr 4, 2019
tinytetris-commented.cpp Correct block layout comment Apr 1, 2019
tinytetris.cpp tinytetris Mar 30, 2019

README.md

tinytetris

80x23 terminal tetris!

tinytetris gif

tinytetris.cpp

This is the 80x23 version. You control it with a (left), d (right), w (rotate), s (drop), and q (quit). It depends on curses.h (so you'll need to compile with -lcurses, and install curses if you don't already have it) and requires C++11.

tinytetris-commented.cpp

This one is almost identical to tinytetris.cpp, but not minified, and with some comments to make it easier to read (but it's still tricky to read in certain parts).

You can’t perform that action at this time.