Dice pontoon – score
You need to write a simple dice game which will allow the user to roll a dice. They can keep rolling a dice, adding up the score as they go along.
The idea of the game is to get as close to 21 without going over. The player can choose to roll or stop. If they roll and go over 21 they should be told that they loose.
You must also come up with a scoring system which awards points the closer they are to 21. If they get 21 they would get the most points. The game should run 10 times and display the players score at the end of the game.

You need to log in or create an account to submit code!











