How to make an episodic, choice-based game?

casey filed quite a lot of patents for mass effect not just the mouse wheel thingy.