A feature-rich, browser-based Ludo game with multiple game modes, AI opponents, and TV remote support. Play the classic Indian board game right in your browser!
Visit: ludo.jyotiprakash.org
| Mode | Description |
|---|---|
| 4 Players | Local multiplayer for 4 human players |
| vs AI | 1 human player vs 3 AI opponents |
| Team Mode | Red+Yellow vs Green+Blue (all human) |
| Team vs AI | You + AI teammate vs 2 AI opponents |
| 2P Diagonal | Red vs Yellow - 2 player mode (human vs human) |
| Diagonal vs AI | Red (you) vs Yellow (AI) - quick 1v1 game |
| Option | Default | Description |
|---|---|---|
| Release on 1 or 6 | ✅ On | Pieces can exit home base on rolling 1 or 6. Disable for classic rules (6 only) |
| Show Capture Indicator | ✅ On | Red blinking indicator shows cells where opponent pieces can be captured |
| Lucky Dice | ❌ Off | Weighted dice with higher chance of rolling numbers that lead to captures |
- Animated Token Movement - Step-by-step animation as pieces move along the path
- Capture Mechanics - Land on opponent pieces to send them back to their home base
- Safe Zones - Star-marked cells where pieces cannot be captured
- Bonus Rolls - Roll again on getting a 6 or capturing an opponent
- Three Sixes Rule - Three consecutive 6s forfeit your turn (prevents infinite loops)
- Auto-Move - When only one valid move exists, it executes automatically
- Smart AI - AI opponents make strategic decisions based on capture opportunities, safety, and progress
- Royal Theme - Elegant design with gold gradients and glowing effects
- Color-Coded Dice - Each player has their own dice in their corner with unique glow effects
- Stacked Tokens - Multiple pieces on the same cell stack neatly with count display
- Finish Pile-Up - Completed pieces pile up at each color's finish cell
Perfect for playing on your TV! Full navigation support:
| Control | Action |
|---|---|
| Arrow Keys | Navigate between options, tokens, and buttons |
| Enter / OK | Roll dice, select token, confirm action |
| Space | Toggle checkboxes |
- Works on desktop, tablet, mobile, and TV browsers
- Board automatically scales to fit available screen space
- Side panel moves below the board on narrow screens
- Choose a game mode from the home screen
- Configure options (release rules, capture indicator, lucky dice)
- Roll the dice by clicking/tapping your dice or pressing Enter
- Move a piece by clicking on a highlighted token
- Capture opponents by landing on their pieces (except on safe zones)
- Get all 4 pieces home to win!
- Roll a 1 or 6 to release a piece from home (or just 6 in classic mode)
- Rolling 6 grants a bonus roll
- Capturing an opponent grants a bonus roll
- Three consecutive 6s skip your turn
- Pieces are safe on star-marked cells and colored start positions
- First player to get all 4 pieces to the finish wins!
┌─────────────────────────────────────┐
│ RED HOME │ PATH │ GREEN HOME │
│ │ │ │
│ (spawn) │ ↓ │ (spawn) │
├──────────────┼──────┼───────────────┤
│ PATH → │CENTER│ ← PATH │
├──────────────┼──────┼───────────────┤
│ BLUE HOME │ PATH │ YELLOW HOME │
│ │ ↑ │ │
│ (spawn) │ │ (spawn) │
└─────────────────────────────────────┘
- Pure HTML/CSS/JavaScript - No frameworks or dependencies
- Single File - Everything in one
index.htmlfile - No Backend - Runs entirely in the browser
- No Data Collection - Your game stays on your device
© 2025 Jyotiprakash Mishra. All Rights Reserved.
This code is provided for observation purposes only.
See LICENSE for full terms.
- Use this code in any project
- Modify or create derivative works
- Distribute or sell this code
- Use this code for commercial purposes
- Copy substantial portions of this code
- Fork or clone this repository
- View and read the source code
- Learn from the implementation techniques
- Play the game at ludo.jyotiprakash.org
Jyotiprakash Mishra
Made with ❤️ for family game nights