100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

Python Coding for a Three Dice Game with Flowchart and Code

Rating
-
Sold
-
Pages
7
Uploaded on
07-02-2021
Written in
2020/2021

This is a presentation with a flowchart and code for a python three dice game. In this game I coded, there are three dice played, when they all match you score top points, less if only two match and you lose points if none of them match.

Show more Read less









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
February 7, 2021
File latest updated on
February 7, 2021
Number of pages
7
Written in
2020/2021
Type
Other
Person
Unknown

Content preview

3 Dice Game


This code is for a game that rolls
three dice.
If all three show the same
number you score 10 points and
if its just two you score 5 points
otherwise you lose 2 points.

, Flowchart
Start 3 X Terminate
Matches
?
Y

ROLL DICE Y = Continue
X = Terminate




3 Yes
Matches Mark + 5
? Refresh Page

No

2 Yes Mark + 3
Matches
?



No
Mark - 2
Display
Current
Mark
£2.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
haroonma

Get to know the seller

Seller avatar
haroonma hihujik
View profile
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
4 year
Number of followers
0
Documents
0
Last sold
1 week ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions