Skip to content

Ladder Game (Ghost Leg) GeneratorBeta

Enter participants and outcomes to build a random ladder with a covered middle. Missing outcomes become blanks. Nothing is sent to a server.

If there are fewer outcomes than participants, the remaining spots are left blank. The outcome order is shuffled each time a ladder is made.

3–18 rungs

What is the ladder game?

The ladder game — known as Ghost Leg in English, Amidakuji in Japan, and Sadaritagi in Korea — is an old way of drawing lots that pairs participants with outcomes one to one, using a ladder-shaped diagram of vertical lines joined by randomly placed horizontal rungs. Starting from a participant’s spot at the top, you follow the line down, and every time you reach a rung you cross over to the neighboring line, until you arrive at one of the outcomes at the bottom.

How to use it

  1. Enter one participant name per line on the left (2 to 12 people).
  2. Enter one outcome per line on the right (prizes, chores, roles — anything). If you enter fewer outcomes than participants, the remaining spots are blank; you can’t enter more outcomes than participants.
  3. Set the number of rungs. A default based on the number of participants is already filled in, so you can leave it as is.
  4. Click “Create ladder”. The outcomes at the bottom are shuffled, and the middle of the ladder, where the rungs are, is covered so nobody can trace the paths in advance.
  5. If you like, click “Shuffle ladder” (same number of rungs, new positions and outcome order), “Shuffle participants” (reorder the top), or “Shuffle outcomes” (reorder the bottom).
  6. Click “Show results” to lift the cover and see the list of who got what. Click a participant’s name to draw their path in color, or click “Show all paths” to draw every path at once.

How is it kept fair?

Rung positions and shuffle orders are chosen with cryptographically secure randomness (crypto.getRandomValues), computed entirely in your browser and never sent anywhere. No two rungs are placed in neighboring gaps at the same height, so every path is unambiguous, and every gap between two vertical lines gets at least one rung, so the ladder never splits apart. Each rung simply swaps two neighboring spots, so no matter how many rungs a path crosses, the result is always a one-to-one mapping (a permutation). The rungs aren’t drawn on screen until you click “Show results”, so there’s no peeking under the cover.

Each time a ladder is made (“Create ladder” or “Shuffle ladder”), the order of the outcomes at the bottom is shuffled too, so every pairing of participants and outcomes is equally likely, whatever the number of rungs.

Example uses

Deciding who pays the bill after a group meal, setting an order before splitting into teams, assigning roles for a group project, or picking who handles the trip expenses. Enter just a few prizes and leave the rest blank to draw a handful of winners from a larger group.

Things to know

Refreshing the page or clicking “Create ladder” or any shuffle button discards the current ladder and builds a new, covered one. If you need to remember a result, click “Show results” and take a screenshot or write it down. Nothing you enter ever leaves your browser — all the computation happens locally.

Sources

Frequently asked questions

How is the ladder game result decided?

The moment you click "Create ladder", the position of every rung is chosen with cryptographically secure randomness (crypto.getRandomValues). Following the ladder down from a participant's spot to the bottom gives that person's result. "Shuffle participants" and "Shuffle outcomes" use the same randomness. Lifting the cover and drawing the paths are just animations that show a result already decided — they never change it.

What happens if I enter fewer outcomes than participants?

The remaining spots are filled with blanks. For example, with 4 participants and only 2 outcomes, 2 of the bottom spots are blank. If there are more outcomes than participants, the ladder can't be built, so remove some outcomes or add participants. Either way, exactly one person lands on each spot, so no two people ever get the same result.

How many participants and rungs can I use?

You can have 2 to 12 participants. The number of rungs can range from (participants − 1) up to six times that (at least 10), and the default is three times (participants − 1) (at least 5). Every gap between two vertical lines gets at least one rung, so the ladder is never split in two.

Can I revisit or save a particular ladder?

This tool doesn't save ladders. Clicking "Create ladder" or "Shuffle ladder" builds a new arrangement of rungs and covers it again. To keep a result, click "Show results" and take a screenshot of the results list or write it down.