From the Super Mario Wiki, the Mario encyclopedia
The objective of the game is to watch what fruits or objects from the top screen and tap to choose the one that changed after falling to the bottom screen. If the player taps a fruit or animal that does not change, they lose the microgame. This microgame has twice the time to complete (8 seconds); half the time is used to memorize the fruits or animals, and the other half is used to tap the one that changed.
Names in other languages