Question: ICS 3 U Python Culminating Question # 1 File Name: ICS 3 UmultiplierGame.py Description An amusement park is looking for ways to entertain its guests

ICS3U Python Culminating Question #1
File Name: ICS3UmultiplierGame.py
Description
An amusement park is looking for ways to entertain its guests while they wait in line for a very popular ride. They have an idea in mind for a game that could be played while people wait and would like to hire you to create the software for the game. The game will have the player earn points which can then be traded in for a prize after the ride has finished.
The player starts the game with an account with 0 points in it. The game consists of 5 rounds of play where the amount of points earned from each round is added to the account. After the 5 rounds are over the player can withdraw all of the points in his account
For Each Round of Play
He player rolls two dice and records the sum.This represents the number of points he earns. One dice has 9 sides the other dice has 6 sides.
The player keeps rolling the two dice and continuously adds the points from the new roll to the points he has already accumulated in that round. There are however both incentives and punishments for rolling the dice too many times.
The player can continue rolling the dice as many times as he wishes during a round and can bank his points to his account at any time he wants, thus starting a new round.
Incentives For Continuing To Roll
If you bank to your account a total of at least 50 points in a single round, you will double the points that sit in the account after the round is complete
If you bank to your account a total of at least 75 points in a single round, you will triple the points that sit in the account after the round is complete
If you bank to your account a total of at least 100 points in a single round, you will quadruple the points that sit in the account after the round is complete
If you roll double 6s at least 5 times in a single round, you will increase the points that sit in the account after the round is complete by 20 times
Punishments For Continuing To Roll
If you roll a 1 on either dice at any point during the round your total points for the round get reset to zero (You can keep rolling in the round)
If you roll a sum of 7 then the amount of points you currently have in the round is cut in half (round up)(You can keep rolling in the round)
If you roll a snake eyes (Both dice show 1) at any point during the round your total points for the round get reset to zero and your account balance gets reset to zero. (You can keep rolling in the round)
Prize System
When the game ends the player will have a specific number of points that can be traded in for prizes.
There should be 6 possible prizes each needing a different number of points. You will need to test your game multiple times to determine a reasonable amount of points needed for each prize.
The better the prize the more points it should cost
The player can pick as many prizes as he wants as long as he has enough points to pay for all of them. You should display the maximum amount of each prize the player can pick and update that # as he picks prizes
Statistics
Store and display the following information at the end of the game
The total number of rolls and the points banked for each of the 5 rounds
A horizontal bar graph of *s representing the total number of each possible sum (215) that was rolled in the entire game. Scale the amount of stars displayed so that it would fit on the screen
ICS3U Python Culminating Question #2
File Name: ICS3UEmiliaNumbers.py
A positive Integer will be an Emilia Number if it has at least two sets of factors where the sum of one set equals the difference of another set.
For Example:
6 is an Emilia Number. It has a sets of factors (6,1) and (2,3) where 2+3=61
30 is an Emilia Number. It has sets of factors (10,3) and (15,2) where 10+3=152
84 is an Emilia Number. It has sets of factors (21,4) and (28,3) where 21+4=283
Write a function that finds Emilia Numbers, and then use it to count how many Emilia numbers would you find for the numbers from 1 to 1000
ICS3U Python Culminating Question #3
File Name: ICS3UrepeatCipher.py
You are sending a message to your friend. Instead of sending the actual message, you send a set of consecutive characters that represent the real letter. The number of consecutive characters determines the real letter.
A single consecutive character represents the letter A
Two consecutive characters represents the letter B
Three consecutive characters represents the letter C
etc
If you sent the message:
********bbbbb&&&&&&&&&&&&999999999999zzzzzzzzzzzzzzz
It would decode to HELLO because there are
8* characters in a row -> H
5b characters in a row -> E
12& characters in a row ->L
129 characters in a row ->L
15z characters in a row ->O
You need to write a program that DECODES messages

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 Programming Questions!