From the Super Mario Wiki
The purpose of the game is to keep the ball in the air by kicking it up. If the ball is in the air enough times, the game is won. However, if the ball hits the ground, the player will lose the microgame.
Names in other languages