From the Super Mario Wiki, the Mario encyclopedia
This microgame is based on Super Mario Bros. To win, the players have to make Mario jump over the two Spinies to avoid them. To do so, they have to tap the Jump button. If Mario's hit by a Spiny, the game ends in a loss.
Names in other languages