Skip to content

notnine/frogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿธ Frogger in MIPS Assembly

A simple version of the classic Frogger game built entirely in MIPS Assembly, designed to run in the MARS MIPS Simulator.

This was a fun and challenging low-level programming project with sound, animation, keyboard input, and visual display โ€” all built from the ground up!


๐ŸŽฎ Features

โœ… Easy features:

  • Sound effects (beep, horn, organ, victory jingle)
  • Rows moving at different speeds
  • Player lives counter
  • Death animation
  • Retry / Game Over screen

โœ… Hard feature:

  • Randomly appearing ghosts that cause collisions

๐Ÿ“ฆ Requirements

  • MARS MIPS Simulator 4.5 โ€” download and run the .jar file using Java
  • Java (JRE or JDK) installed on your system

๐Ÿš€ How to Play

1. Download MARS

2. Open the Game

  • Open MARS โ†’ File โ†’ Open โ†’ select frogger.asm

3. Set Up Graphics and Input

Open the Bitmap Display:

  • Tools โ†’ Bitmap Display
  • Use these settings:
    • Unit Width (pixels): 8
    • Unit Height (pixels): 8
    • Display Width (pixels): 256
    • Display Height (pixels): 256
    • Base Address: 0x10008000
  • Click Connect to MIPS

Open the Keyboard MMIO:

  • Tools โ†’ Keyboard and Display MMIO Simulator
  • Click Connect to MIPS

4. Run the Game

  • Press Assemble (or F3)
  • Then click Go (or press F5) to start the game!

๐Ÿ•น๏ธ Controls

  • W โ€“ Move up
  • A โ€“ Move left
  • S โ€“ Move down
  • D โ€“ Move right
  • R โ€“ Restart game after "Game Over"

๐Ÿ“ธ Preview

frogger_screenshot


๐Ÿง  Built With

  • MIPS Assembly
  • MARS Simulator
  • A lot of patience and pixel math

๐Ÿ“œ License

MIT License โ€” feel free to use or build upon this!


๐Ÿ’ฌ Got questions?

Feel free to open an issue or reach out!

About

A simple version of the classic Frogger game built entirely in MIPS Assembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published