{"id":17652520,"url":"https://github.com/barakugav/battalion","last_synced_at":"2026-01-20T20:32:59.938Z","repository":{"id":110687439,"uuid":"301953139","full_name":"barakugav/battalion","owner":"barakugav","description":"Battalion is a replication of 'Battalion: Nemesis', a strategy gird war game","archived":false,"fork":false,"pushed_at":"2023-06-26T11:33:53.000Z","size":11056,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T03:48:38.003Z","etag":null,"topics":["game","java","java-swing","strategy-game"],"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/barakugav.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":"2020-10-07T07:01:22.000Z","updated_at":"2023-04-29T08:11:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"dba9066c-1018-4ea6-97af-6bfc42179f4e","html_url":"https://github.com/barakugav/battalion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/barakugav/battalion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barakugav%2Fbattalion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barakugav%2Fbattalion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barakugav%2Fbattalion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barakugav%2Fbattalion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barakugav","download_url":"https://codeload.github.com/barakugav/battalion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barakugav%2Fbattalion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28612947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["game","java","java-swing","strategy-game"],"created_at":"2024-10-23T11:47:14.376Z","updated_at":"2026-01-20T20:32:59.922Z","avatar_url":"https://github.com/barakugav.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Battalion\r\n\r\nBattalion is a replication of [Battalion: Nemesis](https://kongregate.fandom.com/wiki/Battalion:_Nemesis), a strategy game where you maneuver military units on a grid and the goal is to defeat the enemy units. The game is turn-based and each unit can move a certain number of spaces in a turn (adjusted for terrain type). There is a variety of units types such as Infantry soldiers, tanks, planes, ships, submarines and more, each with its own propertices: attack range, movement range, which units it can attack, which terrain types it can pass through, ect. By conquering different building, a player can unlock new technologies and units types, increase his income, unlock strategically located unit factories, ect.\r\nIn addition to the original game levels, the player can build and play his own designed level via `MainMenu -\u003e LevelBuilder`.\r\n\r\nThe code is written in `Java` using the Swing GUI library. The units stats were taken from [Fandom](https://kongregate.fandom.com/wiki/Units_of_Battalion_Versions) and (most of) the images were taken from [spriters-resource](https://www.spriters-resource.com/pc_computer/battalionnemesis/). The in-game text such as units or buildings description was generated using ChatGPT.\r\n\r\n\r\n### Installation\r\n\r\nClone and build the game with the following commands:\r\n```bash\r\ngit clone https://github.com/barakugav/battalion.git\r\ncd battalion\r\nmvn clean compile assembly:single\r\n```\r\nRun the game using the following command:\r\n```bash\r\njava -jar .\\target\\bugav-battalion-1.0-SNAPSHOT-jar-with-dependencies.jar\r\n```\r\n\r\n\u003cdiv align=\"center\"\u003e\r\n\u003cimg src=\"https://github.com/barakugav/battalion/blob/master/doc/readme_img/main_menu.png?raw=true\" alt=\"main menu\"/\u003e\r\n\u003c/div\u003e\r\n\u003cdiv align=\"center\"\u003e\r\n\u003cimg src=\"https://github.com/barakugav/battalion/blob/master/doc/readme_img/level.png?raw=true\" alt=\"level 10\"/\u003e\r\n\u003c/div\u003e\r\n\u003cdiv align=\"center\"\u003e\r\n\u003cimg src=\"https://github.com/barakugav/battalion/blob/master/doc/readme_img/factory.png?raw=true\" alt=\"factory menu\"/\u003e\r\n\u003c/div\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarakugav%2Fbattalion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarakugav%2Fbattalion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarakugav%2Fbattalion/lists"}