← All projects
Irrgarten - the same game in Java and Ruby
A turn-based maze game implemented in full in two languages, comparing how each one solves the same object-oriented design.
Demo
What it does
- Complete domain model: Player, Monster, Labyrinth, Game, Weapon, Shield, Dice
- Randomness encapsulated in a single Dice class
- Design driven by high cohesion and low coupling
- Parallel implementation in Java and Ruby from the same class diagram