Skip to content

JustSpring/AsmTetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two-player Tetris- x86

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.

Screenshots

Start Images

AvStart AvKeys

Midgame

tetris_gameplay

Building

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:

  1. Download DOSBox from this link.
  2. Download Tasm (Turbo Assembler) from this link and insert TASM.EXE and TLINK.EXE to C:\TASM\BIN
  3. Run the following commands:
mount c:  C:\
C:
cd tasm
cd bin
cycles=max
tasm /zi tetris.asm
tlink /v tetris.obj

Running

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.

Game rules

Keyboard Keys

  • Right player: arrows to move and Space to rotate.
  • Left Player: asd to move and R to rotate.

Scoring system

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

Speed

  • 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.

Winning

  • The player with the most points wins after both players reach the top of their grid.

About

2 Player Tetris Game in asm x86

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published