From the Super Mario Wiki
The objective of the game is to divide the different types of items by drawing a line between them across the screen before the time runs out. If this is done, the game is won. If the player divides the items incorrectly, they don't lose the microgame, but it results in a waste of time for the player.
Names in other languages