Snakes and Ladders
Public domain classic
Roll, climb, slide. Race the computer to 100.
At a glance
- Board
- 100 squares, numbered from the bottom left and winding back and forth to 100 at the top left, with 6 ladders and 6 snakes
- Players
- 1 to 4. The others are computer players, or people taking turns on one screen with Hot-seat
- Finish
- Exact finish, set when the page opens, or Any finish
- Controls
- The Roll dice button or the Space bar. Esc pauses. Tapping the board does nothing
- Score
- 1,000 minus every roll made at the table, never below 1
- Saves
- Your best score, in this browser only
- Cost
- Free, no account
How this Snakes and Ladders plays
- Tokens start off the board, drawn beside square 1. Player 1 rolls first and play goes round in order.
- A roll is one die, 1 to 6. It spins for about 0.6 seconds, then the token hops one square at a time, about 0.15 seconds a hop. With reduced motion turned on in your device settings, both are quicker.
- Land on the foot of a ladder and you climb it. Land on a snake's head and you slide down. The token waits about two thirds of a second on the square first, and a line of commentary says which it is. No ladder or snake ends where another starts, so a move never chains into a second one.
- Exact finish: a roll that would carry you past 100 is used up, the token stays put and the turn passes on. Any finish: the token stops on 100 whatever the roll.
- The first token to reach 100 wins and the game ends at once.
- A six gives no extra turn. Every roll, yours or a computer's, is added to the roll count at the top.
The ladders and snakes on this board
Ladders run from 4 to 25, 13 to 46, 33 to 49, 42 to 63, 62 to 81 and 74 to 92. Snakes run from 27 to 5, 40 to 3, 54 to 31, 66 to 45, 89 to 53 and 99 to 77. Together the ladders climb 128 squares and the snakes drop 161.
- 13 to 46 is the longest ladder, 33 squares.
- 40 to 3 is the longest snake, 37 squares back.
- The ladder at 4 is the closest to the start: a first roll of 4 goes straight to 25.
- The snake on 99 sits one square from the finish. A token on 97 that rolls a 2 drops to 77, with either finish rule.
Once the game starts there is nothing to decide: the die settles every move. Your choices are the number of players, who they are and the finish rule.
What 2,400 test games showed
The rule test played whole games through the game's own code. With one player it played 1,000 games under each finish rule.
- Exact finish: the quickest game took 10 rolls, the middle game 39 and the longest 214.
- Any finish: the quickest took 11 rolls, the middle game 31 and the longest 149.
- In 400 four-player games against three computer players, player 1 won 108, player 2 won 113, player 3 won 90 and player 4 won 89.
- Over 35,016 rolls each face of the die came up between 5,776 and 5,924 times.
Because the score counts every roll at the table, a solo game with Any finish is the easy way to a high score: the middle game above scores 969. Each extra player adds rolls and pulls the score down.
Playing with others
- Vs computers: players 2 to 4 roll on their own after about 0.85 seconds. Roll dice is greyed out and Space does nothing on their turns.
- Hot-seat: every player rolls by hand with the button or Space, so pass the device round.
- Tokens are pink, cyan, lime and yellow for players 1 to 4, each with its number on it. Each token sits in its own corner of a square, so tokens sharing a square stay visible.
- The top line shows whose turn it is, the last roll and the number of rolls so far.
For a board game where your choices count, try Checkers.
Known limits
- No undo.
- A computer player's win also ends with a score on screen, and that score can become your best.
- The score counts the computer players' rolls as well as yours.
- Changing the players or the finish rule needs the New button, which ends the game in progress.
- On a 390 by 844 screen the cookie notice can sit over the Play button until it is answered.
- At 1280 by 720 the game frame is 848 pixels tall, so the Roll dice button sits below the window until you scroll.
- Switching tabs pauses the game.
- If storage is blocked, your best score is not kept.
How it was built and checked
- AI tool
- Codex
- First committed
- 2026-10-14, in a batch of 10 classic games
- Size
- One HTML file of 175 lines, no game libraries
- Rounds of changes
- 1, from the build record
- Checked at build
- A syntax check and two simulated checks: a token one square from 100 finishing the game, and the ladder at 4 lifting a token to 25. The build report names real browser rendering, physical touch input and full human playthroughs as not verified
- Checked since
- 2026-11-11: a new rule test (5,468 checks covering the board, the menus, roll and hop timing, every ladder and snake, both finish rules, the computer players and Hot-seat, the score, Play Again, New and pause, plus 2,000 one-player games and 400 four-player games), and an automated browser check of the local build at 1280 by 720 and 390 by 844. At desktop size it answered the cookie notice, chose Any finish against the computer, rolled with the button and with Space, let the computer take its turns, put player 1 on 99 and rolled to win, and pressed Play Again. At phone size it played alone with Exact finish, rolled the same two ways, rolled from 99 until a 1 came up, and started again
- Played on a phone
- 2026-11-11, a full game on a real phone before this page went live
Embed Snakes and Ladders on your site
Free to embed. Please keep the credit link.
<div style="position:relative;padding-top:75%;max-width:640px"><iframe src="https://aivibecodedgames.com/games/snakes-and-ladders/" title="Snakes and Ladders (free browser game)" style="position:absolute;inset:0;width:100%;height:100%;border:0" loading="lazy" allow="fullscreen" allowfullscreen></iframe></div> <p><a href="https://aivibecodedgames.com/play/snakes-and-ladders/">Play Snakes and Ladders free</a> on AI Vibe Coded Games</p>
How it was vibe coded
The opening prompt
Make Snakes and Ladders on a 10x10 numbered board drawn on canvas, 1 to 4 players (human plus computer players or hot-seat), animated dice roll and token hops, ladders and snakes drawn as curves, exact finish rule is a toggle. Fun short commentary line after each move. New game and player count selection on the start screen.
Game controls
- Tap Roll or press Space
The game brief includes touch controls for phones.
Open the game on its own