{"id":22920895,"url":"https://github.com/sejuti-sarker-tinny/turn-based-battle-simulator-using-java","last_synced_at":"2025-08-01T19:32:49.785Z","repository":{"id":263464534,"uuid":"890491078","full_name":"Sejuti-Sarker-Tinny/Turn-Based-Battle-Simulator-using-Java","owner":"Sejuti-Sarker-Tinny","description":"A text-based battle simulation game built in Java where the Norse legends Thor and Loki clash in an epic duel of strategy and skill.","archived":false,"fork":false,"pushed_at":"2024-11-18T17:46:25.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T08:48:42.919Z","etag":null,"topics":["abstraction","game","game-development","java","oops-in-java"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Sejuti-Sarker-Tinny.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-11-18T16:54:52.000Z","updated_at":"2024-11-18T17:46:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"509f3f9f-6546-47bc-98f9-ad9c62d047dc","html_url":"https://github.com/Sejuti-Sarker-Tinny/Turn-Based-Battle-Simulator-using-Java","commit_stats":null,"previous_names":["sejuti-sarker-tinny/turn-based-battle-simulator-using-java"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sejuti-Sarker-Tinny%2FTurn-Based-Battle-Simulator-using-Java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sejuti-Sarker-Tinny%2FTurn-Based-Battle-Simulator-using-Java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sejuti-Sarker-Tinny%2FTurn-Based-Battle-Simulator-using-Java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sejuti-Sarker-Tinny%2FTurn-Based-Battle-Simulator-using-Java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sejuti-Sarker-Tinny","download_url":"https://codeload.github.com/Sejuti-Sarker-Tinny/Turn-Based-Battle-Simulator-using-Java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246651240,"owners_count":20811990,"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":["abstraction","game","game-development","java","oops-in-java"],"created_at":"2024-12-14T07:17:21.238Z","updated_at":"2025-04-01T13:42:58.970Z","avatar_url":"https://github.com/Sejuti-Sarker-Tinny.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Turn-Based-Battle-Simulator-using-Java\n\n# Battle of Legends: Thor vs Loki  \n\n**A text-based battle simulation game built in Java where the Norse legends Thor and Loki clash in an epic duel of strategy and skill.**\n\n---\n\n## 🎮 Gameplay Overview  \nThis game pits two iconic characters, Thor and Loki, against each other in a turn-based battle. Each character has unique abilities, stats, and strategies for victory. Choose actions like attacking, defending, healing, or using special abilities to outsmart your opponent!\n\n---\n\n## 📚 Features  \n- **Thor's Abilities:** Use Mjolnir to attack, summon lightning, and charge devastating strikes.  \n- **Loki's Abilities:** Create illusions to confuse the enemy and boost defense.  \n- **Turn-Based Combat:** Players alternate turns choosing actions like attack, defend, heal, or use special abilities.  \n- **Dynamic Stats:** Health, mana, defense, and attack power dynamically change during the game.  \n\n---\n\n## 📂 Technologies Used  \n- **Programming Language:** Java  \n- **Topics Covered:**  \n  - Object-Oriented Programming (OOP) principles  \n  - Abstract classes and inheritance  \n  - Encapsulation and polymorphism  \n  - Dynamic behavior through overridden methods  \n\n---\n\n## 💻 Installation  \n1. **Ensure Java JDK is Installed:**  \n   Download and install the Java JDK (v8 or later) if not already installed.  \n   Verify installation by running:  \n   ```bash\n   java -version\n   javac -version\n  \n2. **Clone the GitHub repository to your local machine:**\n  ```bash\n   git clone https://github.com/yourusername/battle-of-legends-thor-vs-loki.git\n   cd battle-of-legends-thor-vs-loki\n```\n3. **Compile the Java Files:**\n  ```bash\n    javac *.java\n```\n  \n4. **Run the Game:**\n  ```bash\n    java Game\n```\n---\n## 🎮 How to Play\nAt the start of the game, you will control Thor or Loki.\nChoose from the following actions on your turn:\n**Attack:** Deal damage based on your character’s strength and opponent’s defense.\n**Defend:** Boost your defense temporarily for the next turn.\n**Heal:** Restore a portion of your health (uses mana).\n**Special Ability:** Use your character's unique abilities to turn the tide of battle.\nThe game ends when one character’s health reaches 0.\n\n\n## 🖼️ Gameplay Images\n\n![image](https://github.com/user-attachments/assets/8b840f72-127b-4a82-a273-6c0b80cee954)\n\n![image](https://github.com/user-attachments/assets/51d4f938-1615-435c-ab76-85ccd1d96172)\n\n\n## 🤝 Contributing\nContributions are welcome! If you have ideas for improvements or want to fix bugs:\n\n**Fork the repository.**\nCreate a new branch for your feature:\n```bash\ngit checkout -b feature-name\n```\n**Commit your changes:**\n```bash\ngit commit -m \"Add feature-name\"\n```\n**Push the branch:**\n```bash\ngit push origin feature-name\n```\n**Open a pull request**\n\n## 📜 License\nThis project is licensed under the MIT License. See LICENSE for details.\n\n## 🛠️ Future Features\nAdd multiplayer support.\nInclude AI-based opponents.\nImplement graphical user interface (GUI).\nCreate advanced combat mechanics.\n\n## 🔗 Author\nDeveloped by Sejuti Sarker Tinny\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsejuti-sarker-tinny%2Fturn-based-battle-simulator-using-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsejuti-sarker-tinny%2Fturn-based-battle-simulator-using-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsejuti-sarker-tinny%2Fturn-based-battle-simulator-using-java/lists"}