https://github.com/taylorconor/tinytetris
80x23 terminal tetris!
https://github.com/taylorconor/tinytetris
Last synced: 5 months ago
JSON representation
80x23 terminal tetris!
- Host: GitHub
- URL: https://github.com/taylorconor/tinytetris
- Owner: taylorconor
- License: apache-2.0
- Created: 2019-03-30T22:48:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-09T06:30:54.000Z (almost 2 years ago)
- Last Synced: 2025-07-08T18:41:05.725Z (11 months ago)
- Language: C++
- Homepage:
- Size: 615 KB
- Stars: 3,133
- Watchers: 37
- Forks: 620
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tuis - tinytetris
- awesome-cli-apps-in-a-csv - tinytetris - 80x23 terminal tetris game. (<a name="games"></a>Games)
- awesome-cli-apps - tinytetris - 80x23 terminal tetris game. (<a name="games"></a>Games)
README
# tinytetris
80x23 terminal tetris!

### 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`