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.
It can be run locally via the Saturn or Mars IDE & Assemblers, but I recommend using Saturn in your browser:
- Go to the https://1whatleytay.github.io/saturn
- Import the
.asmfiles from this repository - 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)
- Assemble and run
tetris.asm
- 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
