Skip to content

This GitHub repository offers a unique Rock-Paper-Scissors game in Assembly Language for MIPS-32, exclusively here. Simulated on the Mars4_5 simulator, it tracks wins, losses, and draws. Download the Mars4_5 simulator, load rock_paper_scissors.asm, assemble, and run the program to play. Contributions are welcome.

License

Notifications You must be signed in to change notification settings

aloukikjoshi/Rock-Paper-Scissor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissors in MIPS Assembly

Welcome to the only GitHub repository where you can find the classic Rock-Paper-Scissors game coded in Assembly Language for the MIPS-32 architecture! This game is designed to be simulated on the Mars4_5 simulator, which is based on JAVA.

Introduction

This project is an implementation of the Rock-Paper-Scissors game in MIPS Assembly language. It allows the user to play multiple rounds against the computer, keeping track of wins, losses, and draws. The computer's choices are generated randomly to ensure a fair game.

Features

  • User input for the number of rounds.
  • Random computer choices for Rock, Paper, or Scissors.
  • Tracks the number of wins, losses, and draws.
  • Displays the final result after all rounds are played.

Getting Started

Prerequisites

To run this project, you will need the Mars4_5 simulator. You can download it from the following link: Mars4_5 Simulator

Running the Game

  1. Open the Mars4_5 simulator.
  2. Load the rock_paper_scissors.asm file into the simulator.
  3. Assemble the program by clicking the "Assemble" button.
  4. Run the program by clicking the "Run" button.
  5. Follow the on-screen prompts to play the game.

Contributing

If you have any suggestions or improvements, feel free to fork the repository and submit a pull request. Your contributions are welcome!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Mars MIPS simulator for providing the platform to test and run MIPS assembly code.
  • All the developers and contributors who have maintained and improved the Mars simulator over the years.

Enjoy playing Rock-Paper-Scissors in MIPS Assembly!

About

This GitHub repository offers a unique Rock-Paper-Scissors game in Assembly Language for MIPS-32, exclusively here. Simulated on the Mars4_5 simulator, it tracks wins, losses, and draws. Download the Mars4_5 simulator, load rock_paper_scissors.asm, assemble, and run the program to play. Contributions are welcome.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published