Micro Golf (WarioWare: Twisted!)
From the Super Mario Wiki
The game's purpose is to get a ball inside a hole. To do so, the player has to swing the golf club left, then right. If they manage to get the ball in the cup within the time limit, they win the game. In WarioWare Gold, some of the holes are new.
The player starts off the game with 8 seconds in the Spindex.