Arcade30 sec - 3 min
Ladder Game
Type in the names, pick a line, and follow it down
How to play
- 1Choose how many players, from 2 to 10, and if you like, open the settings below to type the names and the outcomes. Left blank, they fill in as Player 1, Player 2 and Win / No win.
- 2Tap one of the names along the top and the line is drawn down the ladder, lighting up the outcome slot it reaches.
- 3Rather than going one at a time, press Show all results and every line runs down at once. New ladder lays fresh rungs and reshuffles the outcome slots.
- 4Switch to Guess in one go and the ladder is shown with one start marked for five seconds, after which the rungs are covered. If you have already traced it, press Cover now to get on with it.
- 5Once it is covered, tap the number of the slot you think the line reaches. Right, and the next board arrives with one more rung; wrong, and the correct path is drawn for you and your streak goes back to zero.
- 6The result screen has a share button that copies the draw, or your streak, as one line of text.
Controls
- Click / tap
- A name at the top draws that line; a number at the bottom answers
- Tab / Shift+Tab
- Move between the name and number buttons
- Left / right arrow
- Move between the name buttons
- Enter / space bar
- Draw the line you picked, or submit your answer
- New ladder button
- Lay fresh rungs and reshuffle the outcome slots
Tips
- In the guessing mode your start is marked from the beginning. Do not try to memorise the whole ladder - follow that one line. Counting the turns is usually enough to land on the right slot.
- Past ten rungs, eyes alone slip a line sideways. Put a finger or the mouse pointer on the screen and move it down with the path; it is far more accurate. Once you have traced it, press Cover now and answer straight away.
- Press Show all results in the drawing mode and every line lands on a different slot. Two people can never get the same outcome, so if you want several winners, type the same word into several slots.
- For anything people care about, like a rota or a forfeit, type all the names and outcomes first and only then press New ladder. The rungs and the reshuffle happen at that moment, so nobody can have seen a path in advance.
- This is a way of drawing lots, not a wager. Use it for who runs the errand or who presents first, and keep money out of it.
What is Ladder Game?
A ladder game is a few vertical lines with rungs thrown across them at random. Everybody picks a line at the top and follows it down, hopping sideways onto the next line every time a rung turns up. It is how a group settles who buys the coffee or who takes the cleaning rota, usually on the back of a notebook. Japan calls the same thing amidakuji, and in Chinese it is known as ghost leg.
The rules could not be simpler, and following a line with your eyes is still harder than it looks. Past ten rungs, one wrong turn halfway down and you come out in the wrong slot. So this is not only a drawing tool: the Guess in one go mode shows you the rungs for five seconds, covers them up, and asks where one marked start comes out. Get it right and the next board gets one more rung.
The drawing side has to be fair, so two things are fixed. Within a row, no two rungs share a vertical line, which means a path never forks and every start matches exactly one slot. And every time a new ladder is laid, the contents of the outcome slots are reshuffled with a Fisher-Yates shuffle. Put those together and whichever line you pick, your chance of landing on a given outcome is the same as everyone else's.
Frequently asked questions
Is a ladder game really fair? Does every line have the same chance?
It does, for two reasons stacked on top of each other. A single rung only swaps two neighbouring positions, so the ladder as a whole is a one-to-one matching between starts and slots - which is also why two people can never land on the same slot. Add the step where the contents of the outcome slots are shuffled evenly every time a new ladder is laid, and the chance of any start getting any particular outcome is exactly one divided by the number of players. That distribution is checked by a test.
Does picking first or last help?
The order makes no difference. The rungs and the outcome slots are already settled before anybody taps anything, and nothing you do changes them. It is true that once early results are revealed the later players know more, but the chance on your own first pick is identical for everyone.
How are the rungs placed? Is there anything rigged in there?
Each row is scanned from left to right, a rung is placed with a fixed probability, and the next column is skipped whenever one goes down. That is what keeps two rungs in the same row from sharing a vertical line. Nothing looks at the outcome and rearranges the rungs, and nothing steers a particular person away from a particular slot. The code and its tests sit in this repository.
How does Guess in one go get harder?
The first board has 4 vertical lines and 3 rungs. Every correct answer adds a rung, up to 14, and the board widens to 5 lines at a streak of 5 and 6 lines at a streak of 10. A wrong answer sends the streak back to zero and the rungs back to 3. The record kept is the longest streak of correct answers you managed.
Where are the names and the records stored?
Only your longest streak is saved, and only in this browser. The names and outcomes you typed disappear when you leave the screen and are never sent to a server. There is no sign-in, and clearing your browser data clears the record too.