Double Click the exe file
compile: g++ DiceGame.cpp -o DiceGame.exe
run the executable: DiceGame.exe
- The order in which the users roll the dice is decided randomly at the start of the game.
- If a player rolls the value "6" then they immediately get another chance to roll again and move ahead in the game.
- If a player rolls the value "1" two consecutive times then they are forced to skip their next turn as a penalty.