Press space key for rolling the dice.
This is a game imitating the board game Snakes and Ladders. Code for rolling the dice is taken from the book Computer Coding by Carol Vorderman.