Design Snakes and Ladders

Easy · Low-Level Design · about 40 minutes

Asked at Uber, Microsoft, Amazon.

Design a Snakes and Ladders game for 2 or more players on a 100-cell board. Players take turns rolling a die and move forward; landing on a snake's head sends them to its tail, landing on a ladder's foot lifts them to its top. The first player to reach cell 100 exactly wins.

Related guides