Tetris for the terminal, implemented in C++
Try the preview here
(Sorry, it's not a web app, there will be input lag)
This works for me:
clang++ -std=c++17 -lncurses -o tetris src/main.cpp
If you don't have clang++
, you might have g++
.
You'll need ncurses
installed for linking.
Run ./tetris
.
Keys are WASD or the arrows, and space to drop the piece.
Big font size encouraged.
That's an ncurses
thing, type reset
.