Tetris

Tetris game made with pure c++ and SFML

Tetris

  • Tetris great game, needless to say more.

A Tetris made with my bare hand!

  • [☑] Rotation: Rotation of the blocks is implemented.
  • [☑] Hard Drop: Hard drop is implemented.
  • [☑] Collision Detection: Collision detection is implemented.
  • [☑] Line Clearing Effect: Line clearing is implemented.

Control

  • Left: Move Left
  • Right: Move Right
  • Down: Move Down Faster
  • Up : Rotation
  • Space: Hard Drop

Demo:

Demo of the engine is shown in the video below:

Watch the video

How to run:

  • Clone the repository
  • Run the following command:
    cmake -S . -B build
    cmake --build build
    ./build/Tetris
    

Dependencies:

  • SFML
  • CMake