Question: Setting the random seed to a fixed value allows you to get predictable results every time, but it does not allow for a very interesting

Setting the random seed to a fixed value allows you to get predictable results every time, but it does not allow for a very interesting dice game. Comment the line back out so you have a random roll of the dice again.
Try modifying your code to use 4,8,12, or 20 sided dice.
Then, modify your code to ask the user how many sides their two dice have. Even though you couldnt build fair 7 or 13 sided dice physically, with digital dice you could use them.
You need to ask for how many sides each dice has. This means two inputs for two dice!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!