16 bits two-player Tetris game in x86 assembly
-
This is a modified version of the classic Tetris game codded in x86 Assembly, which features a competitive two-player mode.
-
Made by Aviv Friedman 2023 as part of a final project of the year at school.
To run this project without any changes you don't need to build the tetris.asm to tetris.exe.
If you want to build the asm file you need to follow the following steps:
- Download DOSBox from this link.
- Download Tasm (Turbo Assembler) from this link and insert TASM.EXE and TLINK.EXE to C:\TASM\BIN
- Run the following commands:
mount c: C:\
C:
cd tasm
cd bin
cycles=max
tasm /zi tetris.asm
tlink /v tetris.obj
To run this project you will need to insert the tetris.exe file into C:\TASM\BIN. Run the following commands in DOSBox:
mount c: C:\
C:
cd tasm
cd bin
cycles=max
tetris
- To turn the game into full screen press ALT+ENTER.
- Right player: arrows to move and Space to rotate.
- Left Player: asd to move and R to rotate.
The amount of points depends on the number of full rows in one turn
| Action | Points |
|---|---|
| One Row (Single) | 100 points |
| Two Rows (Double) | 300 points |
| Three Rows (Triple) | 500 points |
| Four Rows (Tetris) | 800 points |
- The speed is presented at the top of the screen and increases every 50 seconds.
- The speed ranges from 1-5. After 4:10 minutes the speed reaches the highest level.
- The player with the most points wins after both players reach the top of their grid.


