This is classic game named 'Tetris' written in plain old pure assembly (NASM).
2025-06-28.14-27-38.mp4
- Basic Tetris gameplay: falling figures, clearing lines
- Figure fall trajectories
- Next figures window
- Figure holding possibility
- Statistics: score and cleared lines
- Levels: speed up game on each level
- Game over message
- Original music
- Pause menu
- Main menu
tetris-nasm uses NASM as the only programming language, libc and WIN32 API (with GDI) as external libraries.
- Ensure You have installed SASM IDE.
- Configure
SASM_PATHvariable inMakefilein the project root directory. - Run
make build(ormake runto run game on success build) in the project root directory. - If build succeeds You can find the executable in
target/directory from the project root directory.
AandDto move figure left or rightSto increase figure falling speedRto rotate figureQto hold figureSpaceto drop figure