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 23:30
Acomputer is a multipurpose device that accepts input, processes data, stores data, and produces output, all according to a series of stored . the processing unit of most modern computers is a(n) . the instructions that tell a computer how to carry out a task are referred to as computer , which are distributed as software. computers run three main types of software: software, system software, and development tools. an example of system software is a computer system, which is essentially the master controller for all the activities that a digital device performs. digital devices are constructed using tiny electronic components that represent data bits as electrical signals. the system unit houses the system board, which contains several circuits made from semiconducting materials. computers come in three popular form factors: component, , and slate. many of today's digital devices operate on battery power supplied by ion batteries. battery life and lifespan can be extended by following good battery management practices.
Answers: 3
question
Computers and Technology, 22.06.2019 19:30
When using a public computer or network, you should always
Answers: 2
question
Computers and Technology, 22.06.2019 22:00
Consider the following declarations (1, 2, 3, 5, 7)class bagtype{public: void set(string, double, double, double, double); void print() const; string getstyle() const; double getprice() const; void get(double, double, double, double); bagtype(); bagtype(string, double, double, double, double); private: string style: double l; double w; double h; double price; }; a.) write the definition of the number function set so that private members are set according to the parametersb.) write the definition of the member function print that prints the values of the data membersc.) write the definition of the default constructor of the class bagtype so that the private member variables are initialized to "", 0.0, 0.0, 0.0, 0.0, respectively d.) write a c++ statement that prints the value of the object newbag.e.) write a c++ statement that declares the object tempbag of type bagtype, and initialize the member variables of tempbag to "backpack", 15, 8, 20 and 49.99, respectively
Answers: 3
question
Computers and Technology, 23.06.2019 01:30
Negative methods of behavior correction include all but this: sarcasm verbal abuse setting an example for proper behavior humiliation
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
Social Studies, 25.05.2020 06:57
question
Mathematics, 25.05.2020 06:57
question
Mathematics, 25.05.2020 06:57
question
Mathematics, 25.05.2020 06:57
question
Mathematics, 25.05.2020 06:57
question
Mathematics, 25.05.2020 06:57
question
Biology, 25.05.2020 06:57
question
Mathematics, 25.05.2020 06:57
Questions on the website: 13722363