{"id":26505583,"url":"https://github.com/siddami/adventure_game","last_synced_at":"2025-03-20T21:47:45.003Z","repository":{"id":249299376,"uuid":"696976944","full_name":"Siddami/adventure_game","owner":"Siddami","description":"A text based adventure game created with pyhton","archived":false,"fork":false,"pushed_at":"2024-07-19T18:31:31.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-19T23:50:06.142Z","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/Siddami.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":"2023-09-26T19:51:53.000Z","updated_at":"2024-07-19T23:50:11.962Z","dependencies_parsed_at":"2024-07-19T23:50:08.392Z","dependency_job_id":"7eec5ff4-f9e1-45a3-91ff-8e762add96ed","html_url":"https://github.com/Siddami/adventure_game","commit_stats":null,"previous_names":["siddami/adventure_game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddami%2Fadventure_game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddami%2Fadventure_game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddami%2Fadventure_game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddami%2Fadventure_game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Siddami","download_url":"https://codeload.github.com/Siddami/adventure_game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244694540,"owners_count":20494662,"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":"2025-03-20T21:47:44.452Z","updated_at":"2025-03-20T21:47:44.996Z","avatar_url":"https://github.com/Siddami.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Time Adventure Game\n\nWelcome to the **Time Adventure Game**, an interactive text-based game where your choices determine the outcome of your adventure. You will navigate through time, encounter villains, and uncover secrets, all while making critical decisions that influence your journey.\n\n## Table of Contents\n\n1. [Game Overview](#game-overview)\n2. [Installation](#installation)\n3. [How to Play](#how-to-play)\n4. [Game Flow](#game-flow)\n5. [Functions](#functions)\n6. [License](#license)\n\n## Game Overview\n\nIn this game, you will:\n- Select a team and an artifact.\n- Encounter various villains.\n- Use different weapons.\n- Explore mysterious locations.\n- Make decisions that lead to different endings.\n\nYour goal is to protect the timeline and ensure a better future by making strategic choices.\n\n## Installation\n\nTo play the game, follow these steps:\n\n1. Ensure you have Python installed on your computer.\n2. Download the `time_adventure.py` script.\n3. Run the script in your terminal or command prompt using the following command:\n\n```bash\npython time_adventure.py\n```\n\n## How to Play\n\n1. Run the script to start the game.\n2. Follow the prompts and make choices by entering the corresponding number.\n3. Read the narrative and make decisions at each step to progress through the story.\n4. Try different choices to explore various endings and storylines.\n\n## Game Flow\n\n### Initial Setup\n\n- A random team, artifact, villain, and weapon are selected at the start of the game.\n\n### Introductory Narrative\n\n- You are presented with a choice of locations to explore.\n\n### Decision Points\n\n- Throughout the game, you will encounter various decision points that will affect the outcome of the story. Examples include:\n  - Choosing to purchase or leave an artifact.\n  - Deciding whether to confront villains or evade them.\n  - Making strategic choices in battles.\n\n### Endings\n\n- The game can end in different ways based on your decisions:\n  - Winning by defeating the villains and safeguarding the timeline.\n  - Losing by making unfavorable choices that lead to failure.\n  - Getting trapped in time or joining forces with allies.\n\n## Functions\n\n### `run_game()`\n- Initializes the game, sets up random elements, and starts the introductory narrative.\n\n### `intro()`\n- Introduces the story and prompts the player to choose a location to explore.\n\n### `adventure_begins()`\n- Guides the player on what to do with the artifact based on their chosen location.\n\n### `theInput()`\n- Prompts the player to select a location to explore.\n\n### `startOver(callback)`\n- Asks the player if they want to restart or continue from a certain point.\n\n### `play_again(callback)`\n- Asks the player if they want to play again after reaching an ending.\n\n### `print_pause(message)`\n- Prints a message and pauses for a brief period to enhance the narrative experience.\n\n### `onWin()`\n- Prints the winning narrative when the player successfully completes the game.\n\n### `onLoss()`\n- Prints the losing narrative when the player fails in their mission.\n\n### Various Decision Functions\n- Functions like `pick_artifact()`, `drop_artifact()`, `fight()`, `confrontation()`, `allies()`, `ambush()`, `strangers()`, `onDrop()`, `trappedInTime()`, `expose()`, `commotion()`, `distantFuture()`, `onBuy()`, `explore()`, and `purchase()` handle different decision points in the game, each influencing the storyline based on player choices.\n\n## License\n\nThis project is licensed under the MIT License. Feel free to modify and distribute it as you wish.\n\nEnjoy your adventure through time!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddami%2Fadventure_game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddami%2Fadventure_game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddami%2Fadventure_game/lists"}