Refactored game time management