Skip to content

lmarzocchetti/Tetrig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetrig

Tetris in Zig + Raylib

Screenshot 2024-08-03 at 17 15 15

Build and Run

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!

Keybindings

  • 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

Further update

  1. Level selection
  2. Next level after some deleted blocks
  3. Destroy animation
  4. OpenGL Shaders

Releases

No releases published

Packages

No packages published

Languages