removed game logic so can be used for teaching