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

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
- Upgrades as stackable decorators: rapid fire, freezing shot, shield and gold generator.
- Java game engine with an embedded HTTP server and REST API.
- 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.