Modeling a Universe

70 minutes



With Tau Station, we're building a sci-fi universe in a browser. However, in object oriented design, what does the "single responsibility principle" mean when your combat armor serves as armor, a weapon, and medkit?

And when many different behaviors have long chains of duplicated requirements (for example, do you have enough money to buy a medkit, or refuel your ship, or repair your blaster, or bribe a guard), how do you handle that in an efficient an easy to read manner?

And how do you avoid god objects when your character in the universe drives almost everything?

This talk explores some of the techniques we've developed for Tau Station to easily model complex behaviors.