0% found this document useful (0 votes)
51 views4 pages

Mini Project Dice

The document outlines a mini project for a rolling dice simulation program created by a group of four members. The program randomly generates a number between 1 and 6, simulating the rolling of up to six dice and displaying ASCII diagrams of the dice faces. Key features include user input validation, use of the random module, and fundamental programming skills such as loops and conditionals.

Uploaded by

Mahindra Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views4 pages

Mini Project Dice

The document outlines a mini project for a rolling dice simulation program created by a group of four members. The program randomly generates a number between 1 and 6, simulating the rolling of up to six dice and displaying ASCII diagrams of the dice faces. Key features include user input validation, use of the random module, and fundamental programming skills such as loops and conditionals.

Uploaded by

Mahindra Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

MINI PROJECT

ROLLING DICE SIMULATION

GROUP MEMBERS:-
1) 7147 Gnana Sagar
2) 7148 Sahil Bhagat
3) 7154 Shreya Pradhan
4) 7155 SK Juned Afridi
Problem Statement:-

Program that simulates rolling dice. When the program runs ,it will
randomly choose a number between 1 and 6(Or other integer you
prefer).Print that number. Request user to roll again. Set the min and max
number that dice can show.
For the average die, that means a minimum of 1 and a maximum of 6.

Features:-

 The project will be able to roll up to six dice, with each die having six
faces. After every roll, the program will generate an ASCII diagram of
dice faces and display it on the output.
 Random module is used to generate random numbers.
Randint() method of the return module is used to return a random
number between 1 and 6.
 With this project, we learned fundamental skills, such as gathering
and validating the user’s input, importing code, writing functions,
using loops and conditionals, and displaying nicely formatted output
on-screen.

Block diagram:-
WHILE

Another_roll==y FALSE

TRUE

Print random
faces of dice

END WHILE
LOOP
PROGRAM:-
OUTPUT:-

You might also like