- Control your tank and battle against other players.
- Eliminate other players to gain points.
- Winner is declared at game end, where the player with the most amount of points wins.
-
← / → — Move tank left/right (uses fuel).
-
↑ / ↓ — Aim barrel up/down
-
W / S — Increase / decrease shot power
-
Space — Fire
-
R — If the game has ended: restart from level 0. If the game is ongoing and your health < 100: use Repair Kit (heals).
-
F — Get additional Fuel.
-
P — Get additional Parachutes.
-
X — Use Large Projectile powerup
-
N — Next level
-
M — Previous level
-
L — Refresh current stage
-
O — Restart game
- Language: Java 8
- Build Tool: Gradle
- Graphics: Processing (
org.processing:core:3.3.7) - Testing: JUnit 5
- Java 8 (JDK 1.8)
- Gradle Wrapper (included — no need to install Gradle globally)
# Clone the repository
git clone https://github.com/TimWJT/tanks-game.git
# Run the game
.\gradlew.bat :app:run # Windows Powershell or Command Prompt
./gradlew :app:run # Mac/Linux (unconfirmed)