Ghost Leg (Amidakuji)

A ladder lottery for splitting chores, choosing who pays, or handing out roles — with a path animation for each player.

Names (top)
Outcomes (bottom)

How to play

  1. Choose how many players (2–8). Type names along the top and outcomes along the bottom; blanks are filled with defaults.
  2. Press Make the ladder. The rungs are hidden in plain sight — nobody knows where they lead until a path is traced.
  3. Tap a name to draw that player's route in color, or Reveal all to finish at once.

Why the result is fair

A ladder with only horizontal swaps is a permutation: it shuffles the starting positions into ending positions without collisions. The randomness lives entirely in where the rungs go, and each rung decision is a fresh draw from your browser's cryptographic random generator. Neither the order in which you tap names nor the outcomes you type affect the layout.

Examples

Who buys the next round

Five friends, one outcome labeled “Buys drinks” and four labeled “Free”. Reveal one name at a time for maximum suspense.

Weekly chores for roommates

Outcomes: Kitchen, Bathroom, Trash, Vacuum. Four roommates each land on a different chore — no duplicates, no arguing about fairness.

Limitations

  • Maximum of 8 players so the lines stay readable on a phone. For bigger groups, use the Random Picker's list mode.
  • Making a new ladder reshuffles everything. Copy the result you want to keep before rebuilding.

FAQ

What is ghost leg?

Ghost leg is a ladder lottery popular across East Asia — amidakuji in Japan, sadari-tagi in Korea. Players pick a vertical line at the top and follow it down; every time a horizontal rung appears, you must cross it. Where you end up is your outcome.

Can two people end up on the same outcome?

No. Because each rung swaps the two lines it connects, the paths never merge. Every starting point maps to exactly one ending point, so one 'Winner' slot means exactly one winner.

How are the rungs placed?

For each of 10 rows, the tool walks across the gaps from left to right and places a rung with a 50% chance, unless the gap to its left already has one at that height (rungs can't touch). The coin flips come from crypto.getRandomValues.

Why does editing a name clear the ladder?

So nobody can peek at the result and then swap names or outcomes to rig it. Change your inputs first, then make the ladder.

How do I share the result?

Reveal all paths, then press Copy result. You'll get a plain list like 'Sam → Winner' that you can paste anywhere.