A lightweight 2D Tanks game built with Java Swing. The player controls a tank to battle enemy tanks across the battlefield.
- Java
- Swing / AWT (Graphics and Input Handling)
Compile and run the project using the following commands:
javac -d out src/models/*.java
java -cp out models.Main- Arrow Keys / WASD: Move the tank
- Spacebar: Shoot
- Implement collision logic between objects
- Add destruction mechanics for blocks and obstacles
- Create different projectile types
- Define win and loss conditions
MIT