Urgent.News

What's breaking now, across thousands of outlets.

Tech

Stacked sixes, safe stars and bonus rolls: how I coded Ludo's turn rules for a multiplayer browser game

Ludo is the game everyone thinks they know. Roll a 6 to get out, race round the board, knock people home. Then you sit four people down and find out that everybody grew up with slightly different rules. Ludo is one of the 60+ games on mympgames , my free multiplayer browser arcade, and it was harder to get right than chess. The board is easy. The turn flow is where it gets tricky: sixes that…

Ludo is a game that everyone thinks they know, but in reality, there are slight variations in the rules depending on how one grew up playing it. Mympgames hosts over 60 games, including Ludo, which is one of the most challenging to implement correctly. The turn flow in Ludo is particularly tricky, involving sixes stacking, a third six that cancels everything, bonus rolls appearing mid-dice spending, and optional house rules that the host can enable.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Wednesday 18 November →