Skip to content
All projects

Tower Defense

Tower defense game that uses the Decorator pattern to upgrade towers in real time.

Position
Game developer
Role
Game and backend development.
Period
Mar 2026
Status
Complete
Tower Defense mid-wave, with decorated towers defending the path.

Context

Web game with a Java engine and API.

The challenge

Show in a playable way how Decorator stacks behavior without changing the base class.

How I solved it

  1. Upgrades as stackable decorators: rapid fire, freezing shot, shield and gold generator.
  2. Java game engine with an embedded HTTP server and REST API.
  3. Full Canvas 2D game: waves, enemies with health bars and a gold economy.

Outcome

  • A browser game where every upgrade is a visible decorator.

Contact

Let's talk. Write to me or browse my code.