Tetris in Zig + Raylib
Zig version used -> 0.14.0-dev.764+eb1a199df (i think it is compatible with 0.13.0)
Clone and enter the repository with:
$ git clone https://github.com/lmarzocchetti/Tetrig
$ cd Tetrig
Build and Run the application with:
$ zig build -Doptimize=ReleaseFast run
Play!
- z -> Rotate the piece Clockwise
- x -> Rotate the piece Anticlockwise
- Left and Right key -> Move the piece
- Down key -> Speed up the piece
- m -> Mute/Unmute the music
- Level selection
- Next level after some deleted blocks
- Destroy animation
- OpenGL Shaders