game scene refactor