UPBEAT
A turn-based strategy game, written in plain Java OOP
- Year
- 2023
- Role
- Gameplay and game logic
- Status
- University project
- Stack
- JavaJavaFXOOPParser / interpreter
A strategy game where players write a 'plan' as a script and their unit executes it — which means writing a parser and interpreter for a small language from scratch.
It was the first time I actually understood why OOP exists: when you need to add a new command to the language without rewriting the whole file.
Highlights
- A parser and interpreter for the in-game scripting language
- Class design that makes adding a new command cheap