How to build:
clang++ -std=c++1z main.cpp -g -o tetris -Wall
How to play:
./tetris
It starts immediately.
Following keys are available:
Cursor left | Move stone to left |
---|---|
|
Move stone to right |
|
Move stone down |
|
Rotate stone counter clock wise |
|
Rotate stone clock wise |
|
Quit game |