Skip to content

tetris clone written in C utilizing the Raylib library

License

Notifications You must be signed in to change notification settings

shoebob15/cetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cetris

Tetris clone witten in C utilizing the Raylib library

Screenshots

Screenshot 2024-08-02 at 8 28 47 PM

Building

  1. Clone the repository

$ git clone https://github.com/shoebob15/cetris

  1. Move into the Cetris directory $ cd cetris

  2. Generate CMake build files

$ cmake -S . -B build

  1. Build the project

$ cmake --build build

  1. Run the output file

$ ./build/cetris

Prebuilt binaries for most platforms are in the Github releases tab (TODO)

Controls

↑ -> Rotate clockwise

← -> Move left

→ -> Move right

↓ -> Slow drop

space -> Fast drop

z -> Rotate counter-clockwise

enter -> swap the tetromino

TODO

  • Finish controls
  • High score
  • Pause menu
  • Levels and speed increase
  • Next drop preview
  • Different game modes
  • Package assets

About

tetris clone written in C utilizing the Raylib library

Topics

Resources

License

Stars

Watchers

Forks