{"id":24998005,"url":"https://github.com/aymen016/role-playing-game","last_synced_at":"2026-05-03T06:38:58.108Z","repository":{"id":275455715,"uuid":"776085088","full_name":"Aymen016/Role-Playing-Game","owner":"Aymen016","description":"Embark on a thrilling adventure with this Text-Based RPG System! Battle monsters, level up, and manage your inventory in an engaging, strategic text-based game. Perfect for RPG fans and Python developers diving into game development! 🚀","archived":false,"fork":false,"pushed_at":"2025-02-02T16:32:22.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T16:42:18.006Z","etag":null,"topics":["python","random-module"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/Aymen016.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-03-22T16:45:56.000Z","updated_at":"2025-02-02T16:32:25.000Z","dependencies_parsed_at":"2025-02-02T17:30:02.604Z","dependency_job_id":null,"html_url":"https://github.com/Aymen016/Role-Playing-Game","commit_stats":null,"previous_names":["aymen016/role-playing-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aymen016/Role-Playing-Game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aymen016%2FRole-Playing-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aymen016%2FRole-Playing-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aymen016%2FRole-Playing-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aymen016%2FRole-Playing-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aymen016","download_url":"https://codeload.github.com/Aymen016/Role-Playing-Game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aymen016%2FRole-Playing-Game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32560908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["python","random-module"],"created_at":"2025-02-04T17:38:18.331Z","updated_at":"2026-05-03T06:38:58.077Z","avatar_url":"https://github.com/Aymen016.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏰 Advanced Text-Based RPG System\n\nWelcome to the Advanced Text-Based RPG System! ⚔️ This Python-based RPG brings thrilling battles, strategic inventory management, and immersive gameplay right to your terminal. 🎮\n\n## 🚀 Features\n\n✅ **Entity, Player \u0026 Monster Classes**: Define characters with health, level, and experience. Players and monsters can attack, take damage, and level up.  \n✅ 🎲 **Randomized Damage**: Attacks deal random damage, making every battle unique and engaging!  \n✅ 👜 **Inventory System**: Collect and use powerful items like potions and weapons.  \n✅ 📈 **Experience \u0026 Leveling**: Gain XP by defeating monsters and level up for stronger stats!  \n✅ 🧪 **Item Usage**: Use potions to heal and equip weapons for battle enhancements.  \n✅ 🕹️ **Example Gameplay**: Engage in epic battles and watch your player grow stronger.  \n\n## 🔧 Installation\n\nMake sure you have Python installed (version 3.x recommended). Then, simply run:\n```bash\npython rpg_game.py\n```\n\n## 🎮 How It Works\n\n1️⃣ **Create Characters**: Players and monsters are instantiated with health, attack power, and experience.  \n2️⃣ **Battle System**: Players and monsters attack each other with random damage values.  \n3️⃣ **Inventory Management**: Players can collect and use items like potions and weapons.  \n4️⃣ **Level Progression**: Gain experience, level up, and boost your stats!  \n5️⃣ **Dynamic Combat**: Every attack and item usage impacts the battle's outcome.  \n\n# 📝 Example Code\n\n### Example Usage\n```bash\nplayer = Player(\"Hero\", 100)\nmonster = Monster(\"Goblin\", 50, 50)\npotion = Potion(\"Healing Potion\", 20)\nweapon = Weapon(\"Sword\", 15)\n\nplayer.attack(monster)\nmonster.attack(player)\n\nplayer.add_item(potion)\nplayer.use_item(potion, player)\n\nplayer.add_item(weapon)\nplayer.use_item(weapon, monster)\n\nprint(f\"{player.name}'s level: {player.level}\")\n```\n\n### 🏆 Sample Output\n```bash\nHero attacks Goblin!\nGoblin takes 10 damage!\nGoblin attacks Hero!\nHero takes 5 damage!\nHero obtained Healing Potion!\nHero uses Healing Potion!\nHero obtained Sword!\nHero equips Sword!\nHero's level: 1\n```\n\n# 💡 Contributing\n\nWant to improve the game? Feel free to fork the repo and submit pull requests! 🤝\n\n# 📜 License\n\nThis project is open-source and free to use. 🎉\n\n# 📩 Contact\n\nFor any questions or suggestions, reach out to me via GitHub! 🚀\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faymen016%2Frole-playing-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faymen016%2Frole-playing-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faymen016%2Frole-playing-game/lists"}