From the Super Mario Wiki
One Wiggler is on the top screen and many are on the bottom. The player must touch the Wiggler that matches the Wiggler on the top screen and if correct, the player gains five seconds to the time limit and a new one begins. If the player picks the wrong Wiggler, then it will get angry and turn red, and it will deduct 10 seconds from the player's time limit. The Wigglers start out sleeping for the first few levels, but begin to move afterward, increasing the difficulty. The circles on the top Wiggler is the hint to finding the bottom one. The timer begins with 20 seconds, and can go up to 50.
This minigame also appears as a Puzzle minigame in New Super Mario Bros.
In multiplayer, the timer starts with 30 seconds, and no time is added or removed. Instead, players lose one point for the incorrect one, and get one if it's correct. Once the timer reaches zero, the player with the most points wins.
Touch the Wiggler on the Touch Screen that matches the one on the top screen. Choose carefully, though; he has a terrible temper.
Names in other languages
The background music of this minigame is identical to that of Whomp's Fortress, when the character walks near a sleeping enemy.