api: update game logic #3