Skip to content

This repository contains the source code of a game inspired by Pac-Man, developed in Assembly language for the RISC-V architecture. This project is related to the ICS (Introduction to Computing Systems) course.

License

Notifications You must be signed in to change notification settings

neatzzy/Proj-ISC-DroidDefender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Droid Defender: Earth's Last Sentinel - RISC-V

Description

This project implements a game similar to PacMan using the Assembly programming language for the RISC-V architecture. The goal is to demonstrate the ability to develop a game in a low-level language, exploring the features of the RISC-V architecture.

Features

  • Graphical interface (Bitmap Display, 320×240, 8 bits/pixel);
  • Keyboard interface (Keyboard and Display MMIO simulator);
  • MIDI audio interface (ecalls 31, 32, 33);
  • 2 levels with different layouts;
  • Character animation and movement;
  • Collision with walls and enemies (loss of life);
  • Implementation of pellets scattered throughout the level and victory condition upon collecting all of them;
  • Implementation of 4 enemies, each with distinct behaviors;
  • Character attack mechanics and change in enemy behavior upon collecting special pellets;
  • HUD (heads-up display) with information on score, level, and high score;
  • Music and sound effects

Prerequisites

To run the game, you need:

  • A compatible RISC-V CPU or emulator. (FPGARS is included with the game)
  • A configured RISC-V Assembly development environment.

Contribution

Contributions are welcome! Feel free to open issues to report bugs, suggest improvements, or make pull requests.

How to play

To run the game, open the folder GAME and symply drag the file DroidDefender.asm over the executable fpgrars-x86_64-pc-windows-msvc--unb.exe.

License

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

Authors


Have fun playing Droid Defender: Earth's Last Sentinel! 🎮

About

This repository contains the source code of a game inspired by Pac-Man, developed in Assembly language for the RISC-V architecture. This project is related to the ICS (Introduction to Computing Systems) course.

Resources

License

Stars

Watchers

Forks

Packages

No packages published