Pair-a-Gone and On
From the Super Mario Wiki
Pair-a-Gone and On is one of Luigi's minigames found in Super Mario 64 DS. It has similar gameplay to one of Luigi's other minigames, Pair-a-Gone. To play, the player must attempt to match identical cards which are adjacent to each other. Whenever the player manages to match a set of cards, Luigi will deal out more to replace them. Unlike in Luigi's other game, these cards will never end and will keep replenishing, hence the name. Once there are no more matches for the player to make, the game is automatically ended and the player's score is recorded.
* = After several cards are paired
 In-Game instructions
This game of Pair-a-Gone goes on forever! Test your skill and see how many cards you can clear. Go for the record!