How deliuski/tankss works
This is a small Swing, three-player tank battle game. Players launch the window and use keyboard controls; the Battlefield panel advances the game on a timer, checks bullet hits, removes destroyed tanks, and repaints the scene. Tank owns movement, health, controls, and firing; Bullet owns projectile movement and bounds. The source excerpts show these core interactions; no README or additional product capabilities are available.
Main entry points: battlefield.java Battlefield · tank.java Tank · bullet.java Bullet · TankGame.java Game Window
Components 5
Connections 8
- Players → Game Window: launches
TankGame.java - Game Window → Battlefield: creates and adds
TankGame.java - Players → Battlefield: send keys
battlefield.java - Battlefield → Tank: updates and checks hits
battlefield.java - Battlefield → Tank: repaints
battlefield.java - Battlefield → Bullet: checks bounds
battlefield.java - Tank → Bullet: creates and moves
tank.java - Tank → Bullet: draws
tank.java