Help with dice game.
http://pastebin.com/aHSMKt3C Above is my code. The game is supposed to roll 5 dice and then score it 2^n-1 , where n is the number of matching dice. So far the scoring part works but the user is supposed to have the option to re-roll up to three times. My problem is with the re-rolling option. Any help would be much appreciated.
Posted Feb 25, 2016, 12:34 AM UTC
11