{"id":28470789,"url":"https://github.com/hchia93/escape-from-wizard","last_synced_at":"2026-04-28T01:32:47.020Z","repository":{"id":297002400,"uuid":"995317601","full_name":"hchia93/escape-from-wizard","owner":"hchia93","description":"Escape-style game prototype in C#, powered by A pathfinding. Originally XNA-based, now ported to MonoGame with full content pipeline rebuild.","archived":false,"fork":false,"pushed_at":"2025-10-03T18:14:01.000Z","size":23184,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-03T18:42:57.105Z","etag":null,"topics":["astar-algorithm","csharp","linux","monogame","windows","xna-framework"],"latest_commit_sha":null,"homepage":"","language":"C#","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/hchia93.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-03T09:49:18.000Z","updated_at":"2025-10-03T18:14:04.000Z","dependencies_parsed_at":"2025-10-03T18:26:21.032Z","dependency_job_id":"2acc6e60-fabc-4df7-81d4-40deb69aacfc","html_url":"https://github.com/hchia93/escape-from-wizard","commit_stats":null,"previous_names":["hchia93/escape-from-wizard"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hchia93/escape-from-wizard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hchia93%2Fescape-from-wizard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hchia93%2Fescape-from-wizard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hchia93%2Fescape-from-wizard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hchia93%2Fescape-from-wizard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hchia93","download_url":"https://codeload.github.com/hchia93/escape-from-wizard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hchia93%2Fescape-from-wizard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32362781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["astar-algorithm","csharp","linux","monogame","windows","xna-framework"],"created_at":"2025-06-07T10:06:28.218Z","updated_at":"2026-04-28T01:32:47.014Z","avatar_url":"https://github.com/hchia93.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# escape-from-wizard\n\n![Build Windows Status](https://github.com/hchia93/escape-from-wizard/actions/workflows/build-windows.yml/badge.svg)\n![Build Linux Status](https://github.com/hchia93/escape-from-wizard/actions/workflows/build-linux.yml/badge.svg)\n\nEscape from Wizard is a classic dungeon-escape style game where the player must:\n\n- Navigate through a maze-like map.\n\n- Collect key items scattered around.\n\n- Avoid being caught by roaming Hat Ghosts and the pursuing Wizard.\n\n- Once all key items are collected, quickly locate the exit to achieve victory.\n\nThis was originally a university project for `Game Algorithm Design and Analysis` using `C#`, [Microsoft XNA 4.0](https://en.wikipedia.org/wiki/Microsoft_XNA_Game_Studio#:~:text=Microsoft%20XNA%20Game%20Studio%20is,on%20the%20Microsoft%20XNA%20platform.), managed with `TFS`, now migrated to `GitHub` and modernized with **CI/CD**.\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"img/escape-from-wizard.png\" width=\"600\"\u003e\n\u003c/p\u003e\n\n## ✨ Features\n\n- Classic dungeon escape gameplay with collectibles and enemy chasers.\n\n- Implementation of `A*` algorithm for intelligent pathfinding.\n\n### Highlight\n- Key upgrades (2025)\n  - Update dependencies: `Microsoft XNA 4.0` (VS2015) to `MonoGame` (VS2022).\n  - Explored data generation with 'MGCB'\n  - Modernized with solution generation using scripts, showcasing toolchain mentality.\n  - Added CI/CD workflow with GitHub Action to build, and upload artifacts, and package release for `Windows` and `Linux`\n  - Added debug functions for testing and level exploration.\n  - Basic code refactoring.\n\n## Project Structure\n\n```bash\nescape-from-wizard/\n├── .github/workflows/                  # GitHub Actions CI/CD pipelines\n├── img/                                # Project screenshots \u0026 documentation images\n├── script/                             # Helper scripts\n├── src/                                # Main source code and content  (C#, MonoGame)\n│ ├── Game/Content/                     # Game content pipeline (MGCB, assets)\n│ ├── Game/Source/                      # Game logic, entities, algorithms\n│ └── escape-from-wizard.csproj\n└── README.md                           # Project documentation\n```\n\n## Project Setup\n\n### Step 1: Generate Solution\n\nExecute the `generate-sln` script depending on the operating system.\n\n**Windows**:\n\n```bash\n./script/generate-sln.ps1\n```\n\n**Linux**:\n\n```bash\n./script/generate-sln.sh\n```\n\n### Step 2: Generate Content\n\nExecute the `generate-content` script depending on the operating system.\n\n#### Windows\n\n```bash\n./script/generate-content.ps1\n```\n\n#### Linux\n\n```bash\n./script/generate-content.sh\n```\n\n#### Manual Generation\n\nOpen `Content.mgcb` with MGCB Editor with the generated solution, and build for the desired platform.\nThe binaries will be generated at `src/bin/$(Platform)` and `src/obj/$(Platform)`. \n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"img/open-with-mgcb.png\" width=\"500\"\u003e\n    \u003cimg src=\"img/build-with-mgcb.png\" width=\"500\"\u003e\n\u003c/p\u003e\n\nFor more information, kindly refer to [Generating .xnb files](https://www.trccompsci.online/mediawiki/index.php/Generating_and_using_XNB_files).\n\n## Running Project\n\n### Game Control\n\n`←` `→` `↑` `↓` or `w` `a` `s` `d` to move around.\n\n### Game Objects\n\n| Feature | Description |\n|--|--|\n| Hiding Tiles (!) | Entering makes the wizard lose sight; pushes the character out after a delay |\n| Star | Increases score |\n| Wizard | Deal major contact damage |\n| Ghost | Deal minor contact damage |\n| Purple Potion | Mantatory Quest item (Collect 3) |\n| Red Potion | Restores health |\n| Colored Door | Blocks player path. Destroy on passing through with its key.|\n| Colored Key | Unlocks corresponding color door |\n| Exit Sign | Reach it to win |\n| Esc | Quit game |\n\n### Debug Functions\n\n| Key | Desciption |\n|--|--|\n|`F1` | Toggle God Mode|\n|`F2` | Full Heals|\n|`F3` | Obtained All Keys|\n|`F4` | Obtained All Quest Items|\n|`F5` | Unlock All Doors|\n|`F6` | Toggle Guide Lines|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhchia93%2Fescape-from-wizard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhchia93%2Fescape-from-wizard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhchia93%2Fescape-from-wizard/lists"}