Create a random chance one-player game with prizes that is fun to play. The game should include all of the following elements: The game should be fair. The expected value for the player should be 0. This could be accomplished by charging a set fee to play, or by adjusting prize amounts. At least three different actions should be taken by the player while playing. Examples include, but are not limited to, drawing a card, rolling a 12-sided die, flipping a coin, etc. For the game to be fun, the player should win 20-40% of the time. You must be able to play the game, or simulate playing it using online random number generators.
Create a random chance one-player game with prizes that is fun to play. The game should include all of the following elements: The game should be fair. The expected value for the player should be 0. This could be accomplished by charging a set fee to play, or by adjusting prize amounts. At least three different actions should be taken by the player while playing. Examples include, but are not limited to, drawing a card, rolling a 12-sided die, flipping a coin, etc. For the game to be fun, the player should win 20-40% of the time. You must be able to play the game, or simulate playing it using online random number generators.
Chapter6: Looping
Section: Chapter Questions
Problem 5GZ
Related questions
Question
Create a random chance one-player game with prizes that is fun to play. The game should include all of the following elements:
- The game should be fair. The expected value for the player should be 0. This could be accomplished by charging a set fee to play, or by adjusting prize amounts.
- At least three different actions should be taken by the player while playing. Examples include, but are not limited to, drawing a card, rolling a 12-sided die, flipping a coin, etc.
- For the game to be fun, the player should win 20-40% of the time.
- You must be able to play the game, or simulate playing it using online random number generators.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![Operations Research : Applications and Algorithms](https://www.bartleby.com/isbn_cover_images/9780534380588/9780534380588_smallCoverImage.gif)
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781305480537/9781305480537_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![Operations Research : Applications and Algorithms](https://www.bartleby.com/isbn_cover_images/9780534380588/9780534380588_smallCoverImage.gif)
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781305480537/9781305480537_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,