Known in Japan as 'Amidakuji' and in Korea as 'Sadalitagi', Ghost Leg is a lottery game used in a similar fashion to Drawing Straws. In a ghost leg lottery, one of several vertical lines is assigned to or chosen by each participant, and horizontal lines, "legs", are randomly connected between each vertical line. Or the ghost leg diagram is already drawn, but the portion with the legs is covered so participants cannot see them, and they choose vertical lines arbitrarily. Once each participant is assigned to a starting point, they must follow a descending (or ascending, if the starting point is selected at the bottom) path where a turn is taken at every leg until they reach a point at the other end.
The Ghost Leg is often used to distribute things among people, since unlike random chance games such as RockPaperScissors, the format ensures each person will be matched to one item at the other side of the board. Any arbitrary number of things will always have a corresponding thing at the opposite end.
In some Video Games, the Ghost Leg plays out like the lottery: the player can only select one starting point, and only one of the paths is revealed to be the correct one while all others lead to a dead end or some other punishment. Other times, the Ghost Leg is a puzzle: the entire board is shown, and the player must choose a winning path or take actions based on the movement of an entity on the board.
- In Cardcaptor Sakura, Mizuki uses the ghost leg to select students' roles for a school play.
- One time in Cromartie High School, Class 1-2 is riding a train and there's a furious line of students waiting to enter the toilet. "Protagonist" Kamiyama leaves the toilet and figures he's the only one with a cool head and no biases to decide who gets to go next. So he puts everyone's names on a ghost leg... and gets his own as a result and nonchalantly enters the toilet again.
- Digimon Frontier: Episode 12 has a scene where the Digidestined find the ghost leg game in the middle of a forest. They play it and Takuya and Tommy win, while the rest fall into a mud trap set up by their enemy Grumblemon.
- Dual! Parallel Trouble Adventure: When one of the female leads has to run an errand in the middle of the night, the protagonist Kazuki offers to walk with her for her safety. The other three girls in his Unwanted Harem then demand to go, but one of them will need to stay and watch over the home. In a Blink And You Miss It shot, a sobbing Yayoi is shown holding a finished Amidakuji page, where her name is chosen.
- In Fruits Basket, Tohru makes one so Kisa can help select dinner.
- In Round V of the Liar Game tournament, the remaining contestants' player numbers are determined by having them draw legs on a ghost leg screen and then choose a start point.
- In Episode 10 of Magic-kyun! Renaissance, the characters use a ghost leg lottery to assign rooms at the beach villa.
- In the Pokémon XY episode "An Undersea Place to Call Home", Clemont creates a computer program that draws up a ghost leg to determine which two of the four of them would get to occupy the two empty spots on-board the researchers' mini-submarine and go investigate the ship wreck underwater. Ash and Serena end up winning.
- In the Time Bokan series Otasukeman, the heroes have multiple mechs. Which one they use in each episode is chosen via a Ghost Leg game on their ship's main computer.
- In Yuru-Yuri, Sakurako draws a ghost leg diagram on the ground, which includes a loop-de-loop and several other nonstandard lines.
- In Book 15 of A Certain Magical Index, Kakine Teitoku compares Aleister's plotting to a game of Ghost Leg.
Even if you stop his crazy plans, he'll switch to some alternative scheme, then back to the original plan. Terrible guy. It's like a game of Amidakuji — he goes to a different line for a bit, but he ends up right back on the track where he started.
- In Running Man, the ghost leg will be used on occasion by the Running Men to make randomized pairings or distribute prizes... or duds.
- The SCANDAL song "A.M.D.K.J." compares life to Amidakuji, since you never know where the path you're on is going to lead.
- The 1981 arcade game Amidar is one of the earliest uses of this trope in video games, working in a similar fashion to Qix, but for the fact that each rectangle is predefined and movement is mostly governed by the rules of this lottery type.
- The "Pathfinder" game in Big Brain Academy has a number of animals (more as the game gets more difficult) at the top of the screen. The player must draw one or more legs connecting the vertical lines so when the animals follow the paths downward, they all reach their partner of the same species waiting at the bottom of the screen.
- Centarumon in the aptly-named Amida Forest in Digimon World will snipe at you for half of your partner Digimon's total HP if you don't follow the rules of the lottery as you move through it. The sign in the previous screen that showcases the layout of the forest ahead is a clue to the format and rules, though players unfamiliar with Amidakuji may not find it helpful. You don't know if you're taking the right path until the very end, and reaching either of the wrong ones will send you back to the start.
- One of the 1V3 minigames in the first Mario Party game, by the name of Pipe Maze, is essentially a Ghost Leg lottery. Here, the screen quickly scrolls up from the player characters at the bottom, briefly showing the turns in the pipes until the treasure chest is revealed at the top. The 1 player of the 1V3 must quickly determine which path leads to them, and select the pipe that would ultimately drop the treasure chest and its coin bounty to them. However, if they select any of the wrong pipes, then one of the other three players wins coins.
- The BoSpider in Mega Man X (and its remake Maverick Hunter X) descends in this pattern during your battle against it, and can only be damaged in a short window right after it reaches the ground. You have to quickly read its randomly-generated path and evade it while getting in position to shoot it.
- "Mario's Slides", a minigame in Super Mario 64 DS and New Super Mario Bros., has you drawing the horizontal lines as a face of Mario descends towards the Power Star. The game ends when Mario gets bitten by the Piranha Plants. Things get tricky fast when you have to last several rounds without clearing the board. The latter game also has a 1v1 variant where Mario travels back and forth between players.
- Super Mario 64 DS has a second minigame of this type called "Connect the Characters". The puzzle is drawing horizontal lines so the character's heads on top matches their bodies. The game starts with Mario and Yoshi with Luigi and Wario added in later levels. For added challenge, the lines clear after a set of rounds, so new lines have to be drawn to accommodate the new placements.
- In Paper Mario: Color Splash, Prize Pipe Paths - the minigame that plays when a Spinning Door is colored yellow - is this: the player is shown prizes of varying worth on top of five different pipes. The camera then quickly descends, showing the different branching paths, and the player has to chose a single pipe to enter.
- The mandatory New Year minigame in Pawapoke Dash displays a group of fortune-telling results atop a bunch of tall poles and then the screen quickly scrolls aaaaall the way to the bottom, where you must make your decision. What makes it even harder to judge is a bunch of monkeys set up over the path which will block or crap on the protagonist, which also causes him to swap paths.
- Phantasy Star Online 2 has Emergency Code: Judgement, a bomb-defusing minigame. Each bomb has glowing lines running across its side connecting an unlit node to a lit node on the other end via tracks. The player must follow the correct path leading to a lit node.
- In the 4th generation remake of Pokémon Gold and Silver, Bugsy's gym in Azalea Town uses this mechanic as the mandatory gym puzzle. Fashioned after a spider's web, you have to raise and lower connecting cables to craft your path, and choosing the wrong path will force you into a trainer battle.
- Professor Layton vs. Phoenix Wright: Ace Attorney has at least two variants on the Ghost Leg game. One involves eliminating colored vertical lines until each character at the start of the board can reach their corresponding castle.
- A Ghost Leg featured as a bonus game in Psycho Fox, where you don't see the whole board and place a bet on one of the starting foxes, and its Spiritual Successor, Decap Attack has a similar game.
- In Super Mario Land 2: 6 Golden Coins, one of two bonus games is an Amidakuji where you pick one of four fuses to trigger, and a spark will run down the wires and reach an item. Complicating the setup are two rats who land on and chew two horizontal lines, causing the spark to skip that line.
- The original Super Mario Land has a bonus game that is also of this format, in which both Mario and the connecting line are moved around rapidly until the player stops them.
- In Super Monkey Ball 2, the seventh level in the Advanced-Extra difficulty is named "Amida Lot" and features an Amidakuji-like floor. The player must travel along the legs toward the moving goal without hitting any of the bumpers, which will knock them off their path.
- One of the minigames in WarioWare Inc.: Mega Microgame$! utilizes this lottery mechanic, where you select between pipes in which to pour boiling water to direct it into a cup of instant noodles below.
- In WarioWare: D.I.Y., the goal of a wire microgame is to choose one of three buttons that will lead to the dancing man.
- The NES version of Kid Dracula uses this method to determine which of the four bonus games you play after each level. Extra lines are drawn after you choose.