Update game logic