Skip to content

Classic tetris game developed using c++ and the SDL2 lib

Notifications You must be signed in to change notification settings

AmirSinaRZ/Tetris

Repository files navigation

Tetris Game

This is a classic Tetris game developed using C++ and the SDL2 library.

Prerequisites

Make sure you have the following installed on your machine:

  • C++ Compiler (e.g., g++, clang++)

  • SDL2 library + ttf

    Compile the project:

    Ctrl + Shift + B
    

    (Adjust the command based on your file structure and setup)

Run the game:

./Tetris

Controls

  • Left Arrow: Move left

  • Right Arrow: Move right

  • Down Arrow: Move down

  • Up Arrow: Rotate Tetromino

  • Esc: Close the game

    Demo

    image

About

Classic tetris game developed using c++ and the SDL2 lib

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published