Question: Part 1 - Dice Rolling Simulator The Goal: This project involves writing a program that simulates rolling dice. When the program runs, it will randomly
Part 1 - Dice Rolling Simulator The Goal: This project involves writing a program that simulates rolling dice. When the program runs, it will randomly choose a number between 1 and 6. The program will print what that number is. It should then ask you if you'd like to roll again. For this project, you'll need to set the min and max number that your dice can produce. For the average die, that means a minimum of 1 and a maximum of 6. You'll also want a function that randomly grabs a number within that range and prints it. Concepts to keep in mind: Random . Integer o Print o While Loops Challenge: a) Create two dice and roll them at the same time. b) Have to players play a dice game until one of them reaches some top score (ex. 100). c) Create some rules to make the game more interesting.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
