Bolt from Boo

From the Super Mario Wiki
The minigame Bolt from Boo

Bolt from Boo is a minigame from Mario Party-e.

Two players take turns running Mario away from a Big Boo towards the exit by hitting the A Button and B Button buttons. Since the Big Boo is faster than Mario, players will have to stop and turn around to make the ghost stop and hide. If the Big Boo catches Mario, the challenge is over for that player. The player with the fastest time to the exit wins the challenge.

The background, platform, door, and Big Boo are taken from Super Mario World.