{"id":22260943,"url":"https://github.com/piyushsachdeva/python-ai-space-exploration-game","last_synced_at":"2025-08-02T05:40:08.686Z","repository":{"id":213151000,"uuid":"733132762","full_name":"piyushsachdeva/Python-AI-Space-Exploration-Game","owner":"piyushsachdeva","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-19T05:19:17.000Z","size":366,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T13:46:04.968Z","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/piyushsachdeva.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-12-18T16:27:16.000Z","updated_at":"2024-07-08T13:58:31.000Z","dependencies_parsed_at":"2023-12-18T22:50:38.641Z","dependency_job_id":"43f47e08-84b5-4c89-abfb-895f0b1ccdad","html_url":"https://github.com/piyushsachdeva/Python-AI-Space-Exploration-Game","commit_stats":null,"previous_names":["piyushsachdeva/python-ai-space-exploration-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/piyushsachdeva/Python-AI-Space-Exploration-Game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushsachdeva%2FPython-AI-Space-Exploration-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushsachdeva%2FPython-AI-Space-Exploration-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushsachdeva%2FPython-AI-Space-Exploration-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushsachdeva%2FPython-AI-Space-Exploration-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piyushsachdeva","download_url":"https://codeload.github.com/piyushsachdeva/Python-AI-Space-Exploration-Game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyushsachdeva%2FPython-AI-Space-Exploration-Game/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268339418,"owners_count":24234545,"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-02T02:00:12.353Z","response_time":74,"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-12-03T09:10:53.950Z","updated_at":"2025-08-02T05:40:08.635Z","avatar_url":"https://github.com/piyushsachdeva.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python-Based AI Space Simulator Game\n\nWelcome to the Python-based AI Space Simulator Game! This interactive text-based adventure allows players to guide a space traveler named Nova on a quest to find the legendary Star Crystal. The game dynamically adapts to players' decisions, creating a branching narrative with various outcomes.\n\n## Architectural Diagram 🏛️\n\n![architecture-diagram](https://github.com/piyushsachdeva/Python-AI-Space-Exploration-Game/assets/40286378/41d13d17-6253-4f23-9f93-acb6153dbd07)\n\n\n## Prerequisites\n\nBefore getting started, ensure you have the following:\n\n- Python 3.7 or higher\n- OpenAI API Key\n- DataStax Astra Database (Cassandra DB)\n\n## Installation\n\n### 1. Install dependencies\n\n```bash\npip3 install cassandra-driver openai langchain cassio\n```\n\n### 2. Replace variables\n\nReplace the following variables in `tutorial.py` with your values:\n\n- `OPENAI_API_KEY` with your OpenAI API Key.\n- `ASTRA_DB_KEYSPACE` with your Astra DB Keyspace.\n- `secure-connect-file.zip` with the zip file name you downloaded from Astra DB.\n- `connect-token.json` with the JSON file name you downloaded from Astra DB.\n   \n### 3. Run the program\n\n```bash\npython3 tutorial.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiyushsachdeva%2Fpython-ai-space-exploration-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiyushsachdeva%2Fpython-ai-space-exploration-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiyushsachdeva%2Fpython-ai-space-exploration-game/lists"}