Skip to content

Tetris made entirely in MIPS assembly. Run tetris.asm in Mars or Saturn IDEs.

Notifications You must be signed in to change notification settings

SamuelReeder/tetris-assembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tetris-assembly

Gameplay GIF

Overview

A fully functional Tetris game implemented entirely in MIPS assembly language. Features all 7 classic tetromino pieces with rotation mechanics, progressive gravity speed, line clearing, score tracking, and a next-piece preview queue. Includes sound effects and keyboard controls for movement, rotation, hard drop, and pause functionality.

How to Run

It can be run locally via the Saturn or Mars IDE & Assemblers, but I recommend using Saturn in your browser:

  1. Go to the https://1whatleytay.github.io/saturn
  2. Import the .asm files from this repository
  3. If needed, configure the Bitmap Display:
    • Unit width: 4 pixels
    • Unit height: 4 pixels
    • Display width: 64 pixels
    • Display height: 64 pixels
    • Base address: 0x10008000 ($gp)
  4. Assemble and run tetris.asm

Controls

  • W/S: Rotate piece (clockwise/counter-clockwise)
  • A/D: Move left/right
  • E: Hard drop (instant drop)
  • X: Pause/unpause
  • Q: Quit game
  • R: Restart after game over

About

Tetris made entirely in MIPS assembly. Run tetris.asm in Mars or Saturn IDEs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published