Tetris clone witten in C utilizing the Raylib library
- Clone the repository
$ git clone https://github.com/shoebob15/cetris
-
Move into the Cetris directory
$ cd cetris
-
Generate CMake build files
$ cmake -S . -B build
- Build the project
$ cmake --build build
- Run the output file
$ ./build/cetris
Prebuilt binaries for most platforms are in the Github releases tab (TODO)
↑ -> Rotate clockwise
← -> Move left
→ -> Move right
↓ -> Slow drop
space -> Fast drop
z -> Rotate counter-clockwise
enter -> swap the tetromino
- Finish controls
- High score
- Pause menu
- Levels and speed increase
- Next drop preview
- Different game modes
- Package assets