This is classic game named 'Tetris' written in plain old pure assembly (NASM).
- 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_PATH
variable inMakefile
in the project root directory. - Run
make build
(ormake run
to 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.
A
andD
to move figure left or rightS
to increase figure falling speedR
to rotate figureQ
to hold figureSpace
to drop figure