{"id":29264457,"url":"https://github.com/rogerfan48/i2p2-towerdefense","last_synced_at":"2025-10-09T04:15:34.389Z","repository":{"id":270445487,"uuid":"806452275","full_name":"rogerfan48/I2P2-TowerDefense","owner":"rogerfan48","description":"Freshman (2024 Spring) Introduction to Programming II - Mini Project - Tower Defense","archived":false,"fork":false,"pushed_at":"2025-06-17T12:47:43.000Z","size":30561,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T13:10:19.014Z","etag":null,"topics":["allegro","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rogerfan48.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-05-27T08:20:49.000Z","updated_at":"2025-06-17T12:47:47.000Z","dependencies_parsed_at":"2025-06-17T13:58:22.993Z","dependency_job_id":null,"html_url":"https://github.com/rogerfan48/I2P2-TowerDefense","commit_stats":null,"previous_names":["rogerfan48/project-fresh2-i2p2-towerdefense","rogerfan48/i2p2-towerdefense"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rogerfan48/I2P2-TowerDefense","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerfan48%2FI2P2-TowerDefense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerfan48%2FI2P2-TowerDefense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerfan48%2FI2P2-TowerDefense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerfan48%2FI2P2-TowerDefense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogerfan48","download_url":"https://codeload.github.com/rogerfan48/I2P2-TowerDefense/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerfan48%2FI2P2-TowerDefense/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000762,"owners_count":26082921,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["allegro","cpp"],"created_at":"2025-07-04T12:34:44.046Z","updated_at":"2025-10-09T04:15:34.360Z","avatar_url":"https://github.com/rogerfan48.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Freshman (2024 Spring) Introduction to Programming II\n## Mini Project - Tower Defense\n- a tower defense game developed in C++ using the Allegro Library\n- features:\n  - Continuous enemy waves that players must defend against by strategically placing towers. Players lose one life point if enemies reach the bottom-right corner, and the game ends when life points reach zero.\n  - Score-based system where eliminating enemies earlier yields higher points (Score distribution can be viewed via the Debug button)\n  - Multiple defensive options including:\n    - Single-target damage towers\n    - Magic towers for area-of-effect damage\n    - Shovel tool for tower removal (75% cost refund)\n    - Global bomb ability dealing minor damage to all enemies on screen\n  - Real-time display of current difficulty level, money, score, remaining lives, and surrender button along with hotkey indicators\n  - Quick-access hotkeys for all towers and tools, marked with red letters in the top-left corner of each item\n  - Local scoreboard system that persists between game sessions\n  - Paginated scoreboard featuring 10 records per page with a maximum capacity of 20 records\n- `INFO:` coded and designed based on the template given from the TAs, not fully initiated by myself\n\n### Project Deliverables\n- Gameplay Screenshot\n  - ![TowerDefense](Images/game.png)\n- Scoreboard Screenshot\n\n  - ![TowerDefense](Images/scoreboard.png)\n- Here are the steps to run the game (in macOS)(see [documentation/](https://github.com/rogerfan48/Project-Fresh1-I2P1-Pacman/blob/main/documentation) if using other OS):\n  - Download Necessary Packages\n    ```shell\n    brew install cmake\n    brew install pkg-config\n    brew install allegro\n    brew install gcc\n    brew install ninja\n    ```\n  - To compile\n    ```shell\n    sh macos.sh\n    ```\n\n### Others\n- the **coursework** of I2P2: [I2P2-Course](https://github.com/rogerfan48/I2P2-Course)\n- **Final Project** of I2P2: [I2P2-ArenaLegends](https://github.com/rogerfan48/I2P2-ArenaLegends)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerfan48%2Fi2p2-towerdefense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogerfan48%2Fi2p2-towerdefense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerfan48%2Fi2p2-towerdefense/lists"}