Ludo Royale — a complete multiplayer Ludo game you actually own
Ludo Royale is a real-time multiplayer Ludo game for the browser, delivered as complete, editable TypeScript source code. Phaser 4 on the client, an authoritative Colyseus server on the back end, MySQL for persistence, and a React admin console to run it all. No compiled bundles, no obfuscation, no license server, nothing phoning home. You host it on your own server, under your own domain, and you change anything you want.
Live demo: open it on your phone and on your laptop at the same time and play against yourself — there is no sign-up, you are in the game instantly.
What makes it different
- Server-authoritative gameplay. Every dice roll and every move is validated on the server. The client only renders — so a modified browser cannot cheat.
- One rules engine, zero divergence. Offline play and online play execute the exact same compiled rules module, so single-player and multiplayer can never disagree. It ships with its own unit tests.
- POWER mode. An optional battle layer on top of classic Ludo: shields, bombs, freezes, teleports and more, all resolved server-side. Classic Ludo is still one tap away.
- Nobody waits alone. If a quick match does not fill, bots join and play properly. Configurable, and switchable off.
- Drop-proof matches. A disconnected player keeps their seat for a configurable grace period while the server plays their turns, then resumes exactly where they were.
Game features
- Online multiplayer: quick match (2, 3 or 4 players) and private rooms with a shareable code
- Play vs CPU, and pass & play for up to 4 people on one device
- Classic mode and POWER mode
- Daily bonus ladder, lucky wheel, missions, leaderboard and in-game mail with rewards
- Optional guaranteed six to leave the base, so nobody is stuck at home for the whole match
- Friends list with daily coin gifts
- Cosmetics shop: dice, pieces, chat bubbles and board themes, all equippable mid-match
- In-match chat with quick phrases, throwable taunts and emotes
- Virtual coin and gem economy with a full, append-only ledger
- English and Spanish, installable as a PWA, built for phones first
Admin console included
- Admin console: https://ludo.codmira.com/admin
- Email: admin@demo.com
- Password: 14789632
- Dashboard — players, daily active users, matches, currency in circulation, revenue
- Players — search, inspect, adjust balances, ban or unban
- Economy — the complete wallet ledger: every coin in and out, and why
- Shop manager — the live catalogue and its prices, editable without a deploy
- Live ops — daily bonus, wheel prizes, missions and events
- Reports — retention, match volume, economy flow
- Settings — 69 settings in 11 groups: rules, matchmaking, economy, payments, email, branding and more
- Admins & audit — four roles (viewer, support, ops, superadmin) and an immutable log of every change
- Stripe Checkout — card, Apple Pay and Google Pay. Gems are credited from the signed webhook, so a closed tab never loses a purchase.
- PayPal — captured server-side, sandbox and live modes.
- Rewarded ads via Google AdSense H5 Games Ads: opt-in only, with a per-player daily cap enforced on the server.
- Client: Phaser 4 · TypeScript · Vite
- Game server: Colyseus 0.17 · Node.js 22 · WebSockets
- API & admin: Express · Drizzle ORM · MySQL 8 (MariaDB 10.6+ works)
- Admin UI: React · TypeScript · Vite
- Quality: 379 automated tests across the rules engine and the server
- New: full admin console at /admin with eleven sections, four roles and an audit log
- New: Stripe and PayPal web payments, configured from the admin console
- New: opt-in rewarded ads through Google AdSense H5 Games Ads, with a server-side daily cap
- New: white label — product name, logo, favicon and accent colours applied to the console, the game tab and the emails, with no code editing
- New: your own SMTP server with a provider picker and a real test button, plus three editable transactional emails (welcome, purchase receipt, password reset)
- New: password recovery for players — single-use link, 30-minute expiry, all sessions revoked on change
- New: the admin console is fully usable on mobile
- New: admin password recovery from the server (
npm run admin:reset-password), also for installs upgraded from 1.0 - Improved: clearer first-run setup and a safer first-admin seeding flow
- New: redesigned game UI — illustrated mode cards, ribbon-framed panels, new match setup screens, a 16-bulb lucky wheel, a daily-bonus strip on the home screen and an animated loading screen
- New: physical taunts — tomato splat, cracked egg, water jug and freeze, with synthesised sound
- New: guaranteed six to leave the base after three stuck rolls (configurable, 0 = pure dice)
- Improved: sharper rendering on high-density phone screens
- Database: seven additive migrations — existing installations upgrade in place
- New: bots backfill a quick match that waits too long, so a lone player is never stuck
- Improved: first-roll experience and general gameplay polish
- Initial release
A React back office at /admin, not a settings file:
It works on a phone, so you can adjust your game from anywhere.
Monetisation, ready to connect
Keys are pasted into the admin console, not into a file — you can go live, rotate a key or switch PayPal from sandbox to live without redeploying. All three are off by default: with ads disabled the game loads no external script at all.
Your own brand, your own emails
Set the product name, tagline, logo, favicon and accent colours in the admin console and save — the console, the game's browser tab and every email follow immediately. No code editing, no rebuild.
Connect your own SMTP server the same way: pick Gmail, Outlook or Yahoo to auto-fill the host and port, or type any custom server, then press Send test email — a failure reports the mail server's own reply, so you know whether the problem is the password, the port or the sender address. The game sends three transactional messages only: welcome, purchase receipt and password reset. You rewrite the subject and body of each one in the console with a live preview; the branded layout around your text is drawn by the server, so nothing breaks in Outlook.
Password recovery is built in: a single-use link that expires in 30 minutes and signs every open session out when the password changes. Email is optional — with it disabled the game runs exactly as before and nothing is sent.
Tech stack
Please read before buying
This is a source-code product for developers, not a hosted service and not a one-click installer. You should be comfortable with a terminal, Node.js and MySQL. If you have deployed a Node app behind nginx before, the included documentation takes you end to end: local setup, production deploy on a VPS with nginx and SSL, the admin console, payments, ads and customization.
Not included, and paid to third parties: server hosting (a small VPS is enough), a domain name and its SSL certificate, and accounts with Stripe, PayPal or Google AdSense if you enable them. Those services have their own fees and their own approval processes.
Virtual currency only. Coins and gems buy cosmetics and match entries. They are never cashed out. The game is not gambling software and must not be marketed as such.
Licensing: the Regular License covers one end product that your users do not pay for. If your users pay you — directly or by subscription — you need the Extended License.
Support
Support covers the item as delivered: questions about how it works, defect fixes, and keeping it compatible with the documented environment. Installation on your server, customization and third-party services are not part of item support, but custom work can be quoted through the comments.
Changelog
Version 1.1.0
Version 1.0.1
Version 1.0.0







