Brian Lai
All projects

Tank Game Java

A competitive two-player split screen tank game written in Java for an SFSU CSC 413 course, where players collect powerups from crates and battle to drain each other's lives.

  • Java

Tank Game Java is a head-to-head, two-player tank battle built in Java as coursework for SFSU’s CSC 413 class. Each player drives a tank, fires weapons, and tries to reduce the opponent’s lives to zero. Includes collision detection implementing the Visitor design pattern, custom maps, powerups, destructible walls, custom maps, UI, sprite animations, and more.

Destructible crates scattered around the arena drop powerups that change the flow of a match, rewarding players who fight over the map rather than camping. The project packaged up as a runnable JAR, and it was a good exercise in object-oriented design, game state, and input handling.