Ghost Leg (amidakuji) is a lottery in which participants take part in the process. A random number generator gives an instant result from an algorithm. Which one is better depends on the group size and how much buy-in you need.

Start: A B C D
│ │ │ │
├──┤ │ │ ← line 1
│ │ ├──┤ ← line 2
│ ├──┤ │ ← line 3
│ │ │ │
End: 1 2 3 4
Each participant follows their vertical line down and crosses every horizontal line they meet. A horizontal line only swaps the destinations of two neighboring lines, so however the lines are drawn, everyone reaches a different outcome. Duplicates and gaps cannot happen.
That alone does not make every outcome equally likely for everyone, though. With few lines, people tend to end up near their starting position. See checking amidakuji fairness with math for details.
Ghost Leg has long been used in Japan as amidakuji and is called 사다리타기 (sadari-tagi) in Korea. For the basics, see what amidakuji is.
Everyday lottery tools almost always use a pseudorandom number generator (PRNG). It produces numbers by a fixed calculation, so the same seed gives the same result. The quality is enough for ordinary draws, but participants cannot see what happened inside.
// Pick one person from an array
const participants = ["Taro", "Hanako", "Jiro", "Misaki"];
const winner = participants[Math.floor(Math.random() * participants.length)];
There are also true random number generators (TRNG) based on physical phenomena and cryptographically secure generators (CSPRNG) that are hard to predict.
| Point | Ghost Leg | Random number generator |
|---|---|---|
| Transparency | The process is visible and anyone can trace the lines | The mechanism is hidden, so you have to trust the tool |
| Participation | Everyone draws lines | People only see the result |
| Buy-in | Easier to accept because you took part | An unwelcome result invites "was it really random?" |
| Speed | Needs time for everyone to draw | Instant |
| Group size | Up to 299 people per event on Amida-san | Any size |
| Records | The ladder itself is the record | Reproducible if you keep the seed and algorithm |
| Cost | Free on paper or online | Many free services |
Online, share the URL and have everyone draw their lines. The online event lottery guide covers how to run it.

To keep a record, use a third-party service such as random.org and save a screen that shows the date and time.
With many entrants, you can narrow the field with a random number generator and decide the final result with Ghost Leg. For example, pick 30 finalists from 10,000 entries at random, then run an amidakuji on Amida-san with those 30 to choose 10 winners.
Participants can watch and take part in the final stage, which keeps buy-in high even at scale. This suits expensive prizes or draws involving people outside the company.
On paper, the last person to draw can look at the whole ladder and add a line in their own favor. Amida-san randomly reorders participants when the draw starts, so nobody can aim for a result by reading the lines.
Use a third-party service, combine several random sources, or publish the seed before the draw.
Ghost Leg suits draws where transparency and buy-in matter, while a random number generator suits large draws that need speed or automation. Either way, explain the method in advance and keep a record of the result.
See also fair role assignment and company party lotteries.
Experience fair and transparent drawing with our simple and easy-to-use online ladder lottery tool.