{"id":19328522,"url":"https://github.com/tmhsdigital/txt-based-py-game","last_synced_at":"2025-08-10T07:13:13.388Z","repository":{"id":243019757,"uuid":"811238678","full_name":"TMHSDigital/Txt-Based-Py-Game","owner":"TMHSDigital","description":"Let's try this out","archived":false,"fork":false,"pushed_at":"2024-06-06T08:49:22.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T06:44:12.445Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/TMHSDigital.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}},"created_at":"2024-06-06T07:58:04.000Z","updated_at":"2024-06-06T08:46:59.000Z","dependencies_parsed_at":"2024-06-06T09:18:13.361Z","dependency_job_id":"d3f5c2f4-5499-4d30-8680-38d71fb9a426","html_url":"https://github.com/TMHSDigital/Txt-Based-Py-Game","commit_stats":null,"previous_names":["fouttamypaint/txt-based-py-game","tmhsdigital/txt-based-py-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TMHSDigital/Txt-Based-Py-Game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2FTxt-Based-Py-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2FTxt-Based-Py-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2FTxt-Based-Py-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2FTxt-Based-Py-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TMHSDigital","download_url":"https://codeload.github.com/TMHSDigital/Txt-Based-Py-Game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2FTxt-Based-Py-Game/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269689786,"owners_count":24459712,"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-08-10T02:00:08.965Z","response_time":71,"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":[],"created_at":"2024-11-10T02:22:46.369Z","updated_at":"2025-08-10T07:13:13.359Z","avatar_url":"https://github.com/TMHSDigital.png","language":"Python","readme":"- - - - -- - - - Game Commands - - - - -- - - \n-Movement Commands\n---north: Move north.\n---south: Move south.\n---east: Move east.\n---west: Move west.\n-Item Commands\n---take \u003citem\u003e: Take an item from the room and add it to your inventory.\n-Combat Commands\n---attack \u003cenemy\u003e: Attack an enemy in the room.\n-Game Management Commands\n---save: Save the game.\n---load: Load the game.\n---quit: Exit the game.\n- - - - -- - - - Features - - - - -- - - \n-Rooms\n---Players can move between connected rooms.\n---Each room can contain items and enemies.\n-Items\n---Items can be taken and added to the player's inventory.\n---Items can have different effects, such as increasing attack, defense, or health.\n-Enemies\n---Enemies can be attacked by the player.\n---Enemies can drop items upon defeat.\n-Saving and Loading\n---The game state can be saved and loaded.\n\n- - - - -- - - - EXAMPLE GAMEPLAY - - - - -- - - \n\nmarkdown\nCopy code\nEnter your character's name: Paint\nStart Room\n\nThis is the room you start in.\n\n\u003e north\nYou move north.\nSecond Room\n\nThis room has a sword in it.\n\nYou see the following items:\n- Sword: A sharp looking sword\n\nEnemies in this room:\n- Goblin: 50 HP\n\n\u003e take sword\nYou take the sword.\nSecond Room\n\nThis room has a sword in it.\n\nEnemies in this room:\n- Goblin: 50 HP\n\n\u003e attack goblin\nYou attack the Goblin and deal 15 damage.\nThe Goblin attacks and deals 5 damage to you.\n\nSecond Room\n\nThis room has a sword in it.\n\nEnemies in this room:\n- Goblin: 35 HP\n\n\u003e attack goblin\nYou attack the Goblin and deal 15 damage.\nThe Goblin attacks and deals 5 damage to you.\n\nSecond Room\n\nThis room has a sword in it.\n\nEnemies in this room:\n- Goblin: 20 HP\n\n\u003e attack goblin\nYou attack the Goblin and deal 15 damage.\nThe Goblin attacks and deals 5 damage to you.\n\nSecond Room\n\nThis room has a sword in it.\n\nEnemies in this room:\n- Goblin: 5 HP\n\n\u003e attack goblin\nYou attack the Goblin and deal 15 damage.\nYou have defeated the Goblin!\nThe Goblin dropped the following items:\n- Health Potion: A potion that restores health\n\n\u003e take health potion\nYou take the Health Potion.\nSecond Room\n\nThis room has a sword in it.\n\nEnemies in this room:\n- None\n\n\u003e south\nYou move south.\nStart Room\n\nThis is the room you start in.\n\n\u003e save\nGame saved.\n\n\u003e quit\n\n\u003cEND OF GAMEPLAY\u003e\n\n\nyaml\nCopy code\n\n### To Run the Game\nUse the following command:\n```bash\npython main.py\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmhsdigital%2Ftxt-based-py-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmhsdigital%2Ftxt-based-py-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmhsdigital%2Ftxt-based-py-game/lists"}