Ludo
A local multiplayer Ludo game for two to four players on a classic 15×15 board. The board uses the standard 52-square outer ring, and each home lane starts two squares before its spawn square. Every token travels exactly 57 steps from its start square to the center: 50 ring steps, 5 home-lane steps, 1 center-approach step, and 1 finish step. The four corner yards, colored home lanes, and central triangles follow the classic Ludo layout. Token colors, the board, and controls follow the site's Everforest light and dark themes.
Rules
- At the start, every player rolls once. The highest roll goes first and play then moves clockwise. Players tied for the highest roll roll again.
- Each player has four tokens and must roll a 6 to move one out of the yard.
- A 6 earns another roll. Three 6s in a row forfeit the turn without moving.
- Landing exactly on a single opponent token on a non-safe square captures it and earns another roll. The captured token returns to its yard.
- Start squares and star squares are safe. Tokens there cannot be captured, and several players may share them.
- Two or more tokens of the same player on one square form a blockade. Opponents cannot pass through or land on it. A blockade on a safe square still blocks movement; safe squares only prevent captures.
- After 50 ring steps (two squares before its spawn), a token enters its own five-square home lane. Only that player may enter it, and an exact roll is needed to reach home.
- The first player to bring all four tokens home wins.
Source Code
Output
Sandbox ludo
Game