{"id":25040918,"url":"https://github.com/berktugates/wargame","last_synced_at":"2025-04-14T00:21:14.987Z","repository":{"id":181714577,"uuid":"667188645","full_name":"berktugates/WarGame","owner":"berktugates","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-24T11:29:10.000Z","size":19,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T14:21:44.575Z","etag":null,"topics":["game","java","oop"],"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/berktugates.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}},"created_at":"2023-07-16T23:41:58.000Z","updated_at":"2023-07-24T14:06:48.000Z","dependencies_parsed_at":"2023-07-17T00:49:54.199Z","dependency_job_id":null,"html_url":"https://github.com/berktugates/WarGame","commit_stats":null,"previous_names":["berktugates/wargame"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berktugates%2FWarGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berktugates%2FWarGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berktugates%2FWarGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berktugates%2FWarGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berktugates","download_url":"https://codeload.github.com/berktugates/WarGame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248799999,"owners_count":21163404,"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":["game","java","oop"],"created_at":"2025-02-06T03:57:28.558Z","updated_at":"2025-04-14T00:21:14.962Z","avatar_url":"https://github.com/berktugates.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\nAn adventure game is designed in Java language in accordance with OOP principles. The game is designed based on text.\n\n#### Characters\n\n| Character| Damage | Health | Money |\n| -------- | ------- |--------|-------|  \n| Samurai  |   5     |   21   |   15  |\n| Archer   |   7     |   18   |   20  |\n| Knighter |   8     |   24   |   5   |\n\n#### Obstacles\n\n| Obstacle | Damage  | Health | Money |\n| -------- | ------- |--------|-------|  \n| Zombie   |   3     |   10   |   4   |\n| Vampire  |   4     |   14   |   7   |\n| Bear     |   7     |   20   |   12  |\n\n#### Weapons\n\n| Weapon   | Damage  | Money  |\n| -------- | ------- |--------|  \n| Gun      |   2     |   25   |\n| Sword    |   3     |   35   |\n| Rifle    |   7     |   45   |\n\n#### Armors\n\n| Armor    | Damage  | Money  |\n| -------- | ------- |--------|  \n| Light    |   1     |   15   |\n| Medium   |   3     |   25   |\n| Heavy    |   5     |   40   |\n\n# How to play\n- You can choose your character and give a name to your character.\n- \n    1- Player enters name first\n\n    2- Player chooses character\n\n    3- The player chooses which location to go to\n     * Health regenerates if player chooses Safe House\n     * If the player chooses the Store, they can buy armor or weapons.\n     * If the player chooses Jungle, he is fighting a random number of vampires. If he wins, he will receive money and wood as loot.\n     * If the player chooses Cave, he is fighting a random number of zombies. If he wins, he will receive money and food as loot.\n     If the player chooses River, they are fighting a random number of bears. If he wins, he will receive money and water as loot.\n\n     4- If the player's health is 0, the game is over.\n     \n     5- If the player stops by all the locations and collects all the loot and does not die, they will win the game.\n\n\n# Installation\n- Clone the repo\nIf you want to clone and work on this repository locally, you can follow these steps:\n\n1. Fork the repository\n2. Clone it to your local machine\n3. Navigate to the project directory\n4. Run the following commands:\n```\n$ javac Main.java\n$ java Main\n```\n\n# Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberktugates%2Fwargame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberktugates%2Fwargame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberktugates%2Fwargame/lists"}