Battalion is a replication of 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 and (most of) the images were taken from spriters-resource. The in-game text such as units or buildings description was generated using ChatGPT.
Clone and build the game with the following commands:
git clone https://github.com/barakugav/battalion.git
cd battalion
mvn clean compile assembly:single
Run the game using the following command:
java -jar .\target\bugav-battalion-1.0-SNAPSHOT-jar-with-dependencies.jar