A game inspired by the original Battle City (1985 Namco), with some modern variations.
Written entirely in Java with LibGDX. All images are drawn by the author.
Although development has been concluded for now, bugs may still be present. If there are any, please email the author at [email protected].
battle-city.mp4
Defend your flag. Shoot enemy tanks.
Each level has 20 enemy tanks. You only have four lives, so don't let them shoot you!
Don't let them shoot your flag either: if that's hit, the game is over.
Player 1: WASD to move, B to shoot
Player 2: Arrow keys to move, M to shoot
-Singleplayer and two players
-Three difficulties: easy, medium, hard
-Customizable guns and player colors
-Levels can be added with a simple .txt file
-Medium and hard difficulty uses BFS to find the shortest route to your flag, easy uses a randomly generated path
Requires Java 1.8
- Clone the repo.
- In the top directory, type:
./gradlew build
and./gradlew run
(MacOS/Linux)
gradlew build
andgradlew run
(Windows)