api: update game logic #2