taylorconor / tinytetris

80x23 terminal tetris!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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).

build binary tinytetris-commented.cpp

g++ -o tinytetris-commented tinytetris-commented.cpp -lncurses

About

80x23 terminal tetris!

License:Apache License 2.0


Languages

Language:C++ 98.6%Language:Makefile 1.4%