Bonus Game (Super Mario World)
From the Super Mario Wiki
The Bonus Game is a special minigame in Super Mario World. It can only be entered by collecting 100 Bonus Stars at the Giant Gates. When this is done, the Bonus Game automatically starts just after the "iris in" effect at the end of the level.
The Bonus Game takes place in a Switch Palace-styled room that Mario or Luigi enters via Pipe. There are nine Item Box-like blocks, eight of which are circling around the ninth. The ninth block is the only one which has a stable item in it (Super Mushroom, Fire Flower or Star); the others are constantly changing their items. The player's task is to hit the circling blocks from below to stop their reels on a matching item. The actual game works just like tic-tac-toe: three of the same item in a row (vertically, horizontally or diagonally), no matter which item it is, earns the player a 1-Up Mushroom. The player can win up to eight extra lives.
The easiest method to gain as many lives as possible is to hit the eight blocks consecutively and immediately.