Simple Tetris implementation in C++ with raylib
# Installation:
git clone https://github.com/FreddyMSchubert/Tetrix.git tetrix
cd tetrix
./run.sh
Key | Action |
---|---|
⬅️ ➡️ | Move piece horizontally |
D ⬆️ | Rotate piece clockwise |
A | Rotate piece counterclockwise |
⬇️ | Speed up piece dropping |
SPACE | Hard drop piece |
SHIFT | Switch current piece for piece in storage |