Refactor game simulation code to prepare for detail view