Tetris clone made with C++ and the SDL 2.0 library.
- Software-emulated key delay and repeat.
- Super Rotation System as in the official tetris guidelines.
- NES tetris scoring and leveling systems.
- Move Pieces: Arrow Keys.
- Confirm Selection / Rotate Pieces: Z Key, Enter
- Rotate Pieces: X Key, Z Key.
- A GNU/Linux Distribution.
- The gcc C++ compiler.
- SDL2 Library. You can normally install the compiled libraries
system-wide using the package manager of your distribution, e.g.,
- Debian based (Including Ubuntu):
sudo apt-get install libsdl2-2.0-0 libsdl2-image-2.0-0 libdsl2-mixer-2.0-0 libsdl2-ttf-2.0-0
- Arch based:
sudo pacman -S sdl2 sdl2_image sdl2_mixer sdl22_ttf
- Red Hat based (Including Fedora):
sudo yum install SDL2
- Debian based (Including Ubuntu):
- Change the directory to the one you have cloned, e.g., yet_another_tetris_clone
- Create a build directory, .e.g,
mkdir build
- Run
cd build && cmake ../
- Run the executable
./yatc
- PressStart2P fonts from Cody "CodeMan38" Boisclair
- Sound Effects created with sfxr from Thomas Pettersson
- General Information about Tetris from TetrisWiki