Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Objective: Write a program that allows the user to play a Choose Your Own Adventure game. In this game the user will be prompted with

Objective:
Write a program that allows the user to play a "Choose Your Own Adventure" game. In this game the user will be prompted with making decisions, which will then lead them to different paths with different results.
Requirements:
* There must be at least 9 different endings.
* Each ending requires at least two decisions.
* To get 3 of the endings there must be at least 3 decisions the player has to make.
- Numeric comparison, such as equals to, less than etc.
- String comparison
- A compound Boolean expression
- These do not have to be a part of reaching each ending they just have to be in there somewhere
* Be creative!
* Don't be vulgar or offensive
image text in transcribed
Ohjeet We a propen to allow the user to play a "Chow Your Own Aventor peme. In this game the user will be prompted with making decisions, which will then let them to different paths wat after retten. Hei There must be at findings To 13 of the leading the most bereittent decisions the player has to make There be a temple Numelech Suricom Acom | Th ha 4 part of acting and day they just have to be in the Be crew . Dhewe offee Example Dia Welcome to the land of Donkeydware!" Will you go to the inn, look for trouble, or talk to the shady looking out standing near the entrance? Enter "inn", "trouble", or "elt". INN You enter the musty inn, and approach the inn keeper. "Aye you looking to rent a room? Yes or No?", she raps. The cheap rooms are filled up, but if you do me a favor, then I'11 let you have a nice suit. Inter yes or no. "There's this dragon ya ... He atole all my pickles. I want him to pay! Go make him payt You venture out and find the pickle piltering dragon. The dragon will give you the pickles if you guess the number it is thinking between 1 and 10. Enter that number Yes Yes 5 That was not the number I thought of". END The dragon roasts you alive and you are consumed with the rest of the stolen pickles. THE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Describe how a leader creates and implements a powerful vision.

Answered: 1 week ago

Question

2. What potential barriers would you encourage Samuel to avoid?

Answered: 1 week ago

Question

6. How would you design your ideal position?

Answered: 1 week ago