Pair-a-Gone

Pair-a-Gone is a mini-game featured in the games Super Mario 64 DS and New Super Mario Bros. It consists of fifty cards with pictures on them, which the player must match either up, down, left, right or diagonally. To win coins, the player must be able to match all of the cards. If the player is unable to match all of the cards, one coin is deducted for each card remaining. The separate mini-game Pair-a-Gone and On is largely identical in gameplay to Pair-a-Gone, though it lasts forever.

In-Game Instructions
''Match up cards horizontally, vertically, or diagonally to remove them from the table. Clear all the cards to win!

Trivia

 * In addition to stating the mini-game's basic mechanics, the name "Pair-a-Gone" seems to be a pun on "paragon," which can mean "a sole example" or "to rival," both of which can be thought of as relating to this game and the skill required to succeed at it.