They asked me to write this codee
Objective:
Simulate the movement of a single player from position 1 to position 100, based on dice rolls.
The player wins when they reach exactly position 100.
Print the total number of moves it took to complete the game.
Rules:
- The player starts at position 1.
- On each turn, a dice roll (1–6) determines how many steps the player moves forward.
- If the move takes the player beyond 100, the move is ignored — the player stays in the same position.
- If the player lands on the start of a ladder, they immediately move to the end of that ladder.
- If the player lands on the head of a snake, they immediately move to the tail of that snake.
- The game continues until the player reaches exactly position 100.
ladders_arr = [(32,62), (44,66), (22,58), (34,60), (2,90)]
snakes_arr = [(85,7), (63,31), (87,13), (75,11), (89,33), (57,5), (71,15), (55,25)]