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, 21.06.2019 18:00
Which of the following is a true statement about milestones
Answers: 1
question
Computers and Technology, 22.06.2019 10:20
Shown below is the start of a coding region within the fist exon of a gene. 5'--3' 3'--5' how many cas9 pam sequences are present?
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
As with any small island country, cuba has fewer natural resources than countries such as brazil. this affects their economy in that cuba a) exports only manufactured products. b) exports more products than it imports.. c) must import more products than it exports. d) has imposed trade barriers against the united states.
Answers: 3
question
Computers and Technology, 23.06.2019 20:30
What are some settings you can control when formatting columns?
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