game flow with ui changes
fixes game flow