Wheel of Whack
From the Super Mario Wiki
The game's purpose is to whack two of the things popping out of the wheel's holes. To do so, the player has to spin the wheel and press the button to whack. If done so, the game is won. If not, the player loses.