https://github.com/barakugav/battalion
Battalion is a replication of 'Battalion: Nemesis', a strategy gird war game
https://github.com/barakugav/battalion
game java java-swing strategy-game
Last synced: 5 months ago
JSON representation
Battalion is a replication of 'Battalion: Nemesis', a strategy gird war game
- Host: GitHub
- URL: https://github.com/barakugav/battalion
- Owner: barakugav
- Created: 2020-10-07T07:01:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-26T11:33:53.000Z (about 3 years ago)
- Last Synced: 2025-04-07T03:48:38.003Z (about 1 year ago)
- Topics: game, java, java-swing, strategy-game
- Language: Java
- Homepage:
- Size: 10.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Battalion
Battalion 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.
In addition to the original game levels, the player can build and play his own designed level via `MainMenu -> LevelBuilder`.
The 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.
### Installation
Clone and build the game with the following commands:
```bash
git clone https://github.com/barakugav/battalion.git
cd battalion
mvn clean compile assembly:single
```
Run the game using the following command:
```bash
java -jar .\target\bugav-battalion-1.0-SNAPSHOT-jar-with-dependencies.jar
```