1. Initially the players are at starting position i.e. 1.
Take it in turns to roll the dice.
Move forward the number of spaces shown on the dice.
2. If you lands at the bottom of a ladder,
you can move up to the top of the ladder.
3. If you lands on the head of a snake,
you must slide down to the bottom of the snake.
4. Hit enter to roll the dice.
5. Demo mode will run for single player automatically for 10 turns
Game having a two modes demo and pro used the following
commands to run respectively
commands:
1. python game.py
2. python game.py -m=pro
commands:
1. python -m unittest
2. python -m unittest -v
commands:
1. python -m unittest tests/test_dice.py
2. python -m unittest -v tests/test_dice.py