merging in game logic with ui