{"id":23126095,"url":"https://github.com/zpg6/asm-galacta","last_synced_at":"2025-04-04T05:12:34.242Z","repository":{"id":267029086,"uuid":"900067927","full_name":"zpg6/asm-galacta","owner":"zpg6","description":"Extensions to a game I wrote in Assembly back in college. Uses MARS (MIPS Simulator). Inspired by the classic arcade game Galaga.","archived":false,"fork":false,"pushed_at":"2024-12-08T14:56:51.000Z","size":9458,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T16:36:50.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zpg6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-07T19:19:22.000Z","updated_at":"2024-12-08T14:56:54.000Z","dependencies_parsed_at":"2025-02-15T01:31:40.391Z","dependency_job_id":null,"html_url":"https://github.com/zpg6/asm-galacta","commit_stats":null,"previous_names":["zpg6/asm-galacta"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpg6%2Fasm-galacta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpg6%2Fasm-galacta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpg6%2Fasm-galacta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpg6%2Fasm-galacta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zpg6","download_url":"https://codeload.github.com/zpg6/asm-galacta/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247123087,"owners_count":20887261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-17T08:18:40.019Z","updated_at":"2025-04-04T05:12:34.236Z","avatar_url":"https://github.com/zpg6.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asm-galacta\n\nThis was probably my favorite Computer Science project in college, and I have been wanting to revisit it for a while.\n\nIt is a simple game written in MIPS Assembly Language, runnable cross-platform using a Java runtime. The player controls a spaceship that can move left/right/up/down (arrow keys), and shoot projectiles at the enemies (B). It is loosely based on the classic arcade game [Galaga](https://en.wikipedia.org/wiki/Galaga).\n\nBuilding this game was a great learning experience, and I am proud of the result to this day. About a year later was when I began learning app development in native iOS, and I can see now how this project was a stepping stone to that type of thinking.\n\n\u003cbr\u003e\n\n![Main Screen](./docs/00-gameplay.gif)\n\n## Features\n\n- Welcome screen with animated rainbow border\n- Keyboard input for player movement and shooting\n- Enemy spawning locations and timing randomized\n- HUD with ammo, score, and lives\n- Explosion animations when an enemy is hit\n- Health drops to restore lives\n- Game over screen with final score\n\n## Running the game\n\n### Prerequisites\n\n- Java 8+ (I used [Liberica JDK 21 LTS](https://bell-sw.com/pages/downloads/#jdk-21-lts))\n- Clone this repository:\n\n```\ngit clone https://github.com/zpg6/asm-galacta.git\n```\n\n\u003cbr\u003e\n\n### 1. Open the JAR for the MIPS Simulator (`tools/Mars.jar`) and open the `src/game.asm` file.\n\n\u003cbr\u003e\n\n![Open Game](./docs/01-open-game.png)\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n### 2. Be sure to select \"Assemble All Files\" in the Settings menu.\n\n\u003cbr\u003e\n\n![Assemble All Files](./docs/02-assemble-all-files.png)\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n### 3. Click the \"Assemble\" button and then the \"Run\" button.\n\n\u003cbr\u003e\n\n![Assemble](./docs/03-assemble.png)\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n![Run](./docs/04-run.png)\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n### 4. Open the \"Keypad and LED Display Simulator\" and click the \"Connect to MIPS\" button.\n\n\u003cbr\u003e\n\n![Open Simulator](./docs/05-open-simulator.png)\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n![Main Screen](./docs/06-main-screen.png)\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n### 5. Play the game!\n\nUse the arrow keys to move the spaceship and the B key to shoot. Try to get the highest score you can!\n\nIf you lose a life, collect a falling health orb to restore one.\n\n\u003cbr\u003e\n\n![Extra Lives](./docs/07-extra-lives.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzpg6%2Fasm-galacta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzpg6%2Fasm-galacta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzpg6%2Fasm-galacta/lists"}