Sort or 'Splode
From the Super Mario Wiki
In the minigame, the player must use the Stylus to place the Bob-ombs that appear in their correct sections. Bob-omb Buddies go in the red section and normal Bob-ombs in the black section. As the game goes on, more and more Bob-ombs appear, and more frequently. If a Bob-omb is left unsorted for a while, it explodes, immediately ending the game; the player's score is then tallied, being how many Bob-ombs were sorted. Additionally, if a Bob-omb is put into the incorrect section, it also explodes, detonating the rest of the Bob-ombs in that section as well, ending the game and only tallying the Bob-ombs from the other section. Once forty Bob-ombs of one color are placed in their section, the game pauses for a moment; the section is emptied and the forty Bob-ombs are tallied up before the game resumes.
The multiplayer minigame Bob-omb Sudden Death plays similarly to Sort or 'Splode.