A NXDK / Xbox port of SDL2-Tetris
- Install NXDK
git clone https://github.com/chrisderwahre/sdl2-tetris-xbox.gitcd sdl2-tetris-xboxmake -f Makefile.nxdk
| Control | Action |
|---|---|
| DPad Left | Move object to left |
| DPad Right | Move object to right |
| DPad Down | Soft object drop |
| DPad Up | Rotate object right |
| A | Hard object drop |
| B | Rotate right |
| Y | Hold object |
| X | Rotate left |
| Back | Pause |
| Start | Exit game |
A Tetris clone written in C. Most of the features from modern Tetris games are implemented except for combos and special effects/nice graphics.
- Make sure you have dependencies
SDL2andSDL2_ttf git clone https://github.com/andwn/sdl2-tetris.git sdl2-tetriscd sdl2-tetrismake
- Arrow left/right - Move left/right
- Arrow down - Soft Drop
- Space - Hard Drop
- Z - Rotate left (counter clockwise)
- X, Arrow up - Rotate right (clockwise)
- Shift - Hold
- Enter - Pause