change the game logic