Design Snake and Ladder
A favourite first machine-coding round: one Jump class for snakes and ladders, a board that rejects chains and bad squares before the first roll, dice and end-of-board rules as strategies, a turn loop with the three-sixes rule, and one lock per game so a double tap can't give a player two turns.
01 · Two taps on roll
LLD-09 · Design Snake and Ladder
Asha, Bilal, and a board every child knows.
One player, two taps
Asha and Bilal are playing snake and ladder, each on their own phone.
0:00 / 14:26