Individual Assignment: Dice Simulation

Individual Assignment: Dice Simulation

Paper details:

I have attached the grading form on how things will be graded and a screenshot of the assignment.

Assignment: Design, implement, test, and debug a C# program to simulate the rolling of two dice 100 times. Whenever the two dice display the same number, the program should show the roll sequence number (e.g. the 10th roll) and the number on the dice (for example. “Roll 1 – Both dice throw 6”). After the 100 rolls are complete, provide a summary to the user of how many doubles of 1 were rolled, how many doubles of 2 were rolled, how many doubles of 3 were rolled, how many doubles of 4 were rolled, how many doubles of 5 were rolled, and how many doubles of 6 were rolled. Remember that valid values for dice are 1, 2, 3, 4, 5, and 6. This program may be a console application or a Windows Forms application. Should you choose to do a Windows Forms application, the user should only need to click one button to roll the dice all 100 times. No matter whether you choose to develop a Windows Forms application or a console application, be sure the interface is professional looking and intuitive to use for the novice end user.

Include identifying information in the form of block comments at the top of each class in the project (programmer name, date, program description). Include adequate comments throughout the program, utilize meaningful names for controls, variables, fields, and forms. Include white space for readability purposes in the code. Refer to the Individual Assignment grading form to view grading criteria.

Posted in essay.