subject

Maze game - choose your pathway Your challenge in this lesson is to create a program that will ask the user for a series of decisions to make, where each one has a chance of ending the game.

An example of this would be a maze/labyrinth story where the user must maneuver through dangerous obstacles like trap doors,
However, there are way more narrative you could use besides a maze full of obstacles any choose your adventure type storyline would work:

You must first turn in a tree diagram of your maze
Must ask the user to make a decision at each point in the story
There must only be one correct pathway through the story, any other response should ultimately lead to the player "losing" the game/story. Have different endings.
Your program must not display any message/ask questions that aren't a part of the pathway the user choose. I, e., when the user picks a wrong decision , the game should not ask any questions that aren't a part of that pathway.

You must have at least 6 decisions the has to make in order to complete your game.

If the user chooses incorrectly, the game must end. You are not allowed to use sys. exit(), break or any other shortcuts.

The storyline is completely up to you to do what you want with. Have some fun with it. It does not have to be a maze or other video game even just a game show like who wants to be a millionaire works.

Bonus
Add at least 3 decisions/events that are random in the program. This could be one of several things:
The correct answer could be random. For example, if the user has to choose either left or right, the correct answer could be randomly choosing each game.
The message/story event could be different. For example when the user loses the message that displays could be randomly selected.
Some other creative use of random that effect the story/outcome in someway.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 03:30
How can you repin an image on your pinterest pin board a. click on the "repin" button b. click on the "add pin" button c. click on the "upload a pin" button d. click on the "save pin" button.
Answers: 2
question
Computers and Technology, 23.06.2019 04:00
Another name for addicting games.com
Answers: 1
question
Computers and Technology, 23.06.2019 10:50
The volume v and paper surface area a of a conical paper cup are given by where r is the radius of the base of the cone and h is the height of the cone. a. by eliminating h, obtain the expression for a as a function of r and v. b. create a user-de ned function that accepts r as the only argument and computes a for a given value of v. declare v to be global within the function. c. for v ! 10 in.3 , use the function with the fminbnd function to compute the value of r that minimizes the area a. what is the corresponding value of the height h? investigate the sensitivity of the solution by plotting v versus r. how much can r vary about its optimal value before the area increases 10 percent above its minimum value?
Answers: 1
question
Computers and Technology, 23.06.2019 22:40
22. sata3 allows for data transfer rates of 600 mb/s. explain why you would likely not be able to copy data from one hard drive to another at anywhere close to this speed. also, what could be upgraded on the computer to achieve transfer speeds closer to 600 mb/s
Answers: 1
You know the right answer?
Maze game - choose your pathway Your challenge in this lesson is to create a program that will ask...
Questions
question
Mathematics, 13.03.2021 02:10
question
Mathematics, 13.03.2021 02:10
question
Mathematics, 13.03.2021 02:10
question
Mathematics, 13.03.2021 02:10
Questions on the website: 13722361