This is a simple implementation of the classic Tetris game.
- Classic Tetris gameplay
- Simple and intuitive controls
- Score tracking
- git
- CMake >= 3.28
- C++ 23 compiler
To install and run the Tetris game, follow these steps:
- Clone the repository:
git clone `https://github.com/Kemo321/Tetris.git`
- Navigate to the project directory and make
build
directory there, then enter build directory:cd Tetris mkdir build cd build
- Install the required dependencies and build the project:
cmake .. cmake --build .
- Start the game:
./Tetris or Tetris (if on windows)
- Use the left/right arrows to move and arrow up to rotate
- Use arrow down to move down faster
- Press the spacebar to pause
- Press r to restart the game