# Ludo Math

### Ludo Rules

Points
1 cell moved → 1 point
1 token reaches home → +56 points (includes points for movements)
eliminate opponent pawn → +x points (includes points for movements)
Extra moves
eliminate a pawn
reach home
Game ends
lifelines end
game left in middle
all moves are over
Timer (10s) → shuffle dice + pick pawn
Available moves → 24

### In-game Levers

Dice rolls - Fair dice rolls generated via js randomizer
Opponent pawn placements & points [static]
Star exceptions [ignore]

### Cardbaazi Ludo opponents

blue 2,14
green 7, 45
green 14, 0
yellow 15,40 green 21,7
blue 24,36
yellow 27,0
yellow 39, 12
blue 40, 0
yellow 45, 18
blue 50, 10
green 51, 37
14,45,40,7,36,12,18,37
42,

— (clockwise)
red
blue
green
yellow

[1 , 9 , 14 , 22 , 27 , 35 , 40 , 48, 52, 53, 54, 55, 56, 57]
red base reference → 52

### Blue exceptions (starts at R → 14)

All except [0, 1 , 9 , 13, 14 , 22 , 27 , 35 , 40 , 48, 52, 53, 54, 55, 56, 57]

### Green exceptions (starts at R → 27)

All except [0, 1 , 9 , 14 , 22 , 26, 27 , 35 , 40 , 48, 52, 53, 54, 55, 56, 57]

### Yellow exceptions (starts at R → 40)

All except [0, 1 , 9 , 14 , 22 , 27 , 35 , 39, 40 , 48, 52, 53, 54, 55, 56, 57]
blue position generated as 8 (reference of red)
in reference of red to red, it is 47 (draw math for this position, currently derived from manual intervention) [(8+1-14), if negative sum with 52]
Score on pawn is 47
/—
blue position generated as 20 (reference of red)
in reference of red to red, it is 7 [20+1-14]
score on pawn is 7