Question: Instructions Create your own text - based adventure game with at least three levels of choices. It's up to you to determine the scenarios, the
Instructions
Create your own textbased adventure game with at least three levels of choices. It's up to you to determine the
scenarios, the choices, and the consequences.
Keep in mind the following guidelines and requirements:
You need to have at least three levels of scenarios with possible choices. This means that every time the user plays
the game they should answer at least three questions because every branch of the game should go three levels
deep.
Scenarios that follow an earlier answer should be handled with nested if statements. In other words, the body
block of the first if statement will contain a print statement and then another if statement inside it
At least one of your scenarios must have more than two possible choices.
In each prompt, write the choices in ALL APS, so that the user knows which words are possible responses to
choose.
Responses should be words strings rather than numbers.
When checking the users responses, you should match on the keyword, regardless of the uppercaselowercase
used in the response eg "match", "MATCH", "Match" should all work
Making different choices should take you to different scenarios. You shouldn't have the same result for different
choices.
Choices should only work for the correct question.
In other words, if one scenario resulted in choices of RunHide but another resulted in choices FollowLook you
should not be able to respond with "Follow" to the question that asked for RunHide
A good way to accomplish this is to have a series of nested if statements. That is the print and then the next if
statement will be within the bodyblock of the first if statement.
For each question, you should provide an "else" clause to handle the case that the user tries to type something
other than the possible choices. It is up to you how to handle this case.
Showing Creativity and Exceeding Requirements
Obviously, you'll show some creativity by customizing the prompts and choices. To receive points for the "Shows
creativity and exceeds requirements" portion of the rubric for this assignment, you need to add something
additional to the framework of the game. For example, you might add even more levels or you might have more
choices at each level. You might add hidden choices or trick questions. Have fun with this and see what you can do
If you've already learned other programming concepts for example, loops, lists, etc. you are welcome to use those
concepts here as a way to make show creativity and exceed requirements.
Considering Sharing this Program
For this assignment specifically, an additional way that you can receive points for showing creativity and exceeding
requirements by showing your program to at least two other people to have them play it After they play it briefly
show them your code and explain how it works. Then, describe your experience in your comment at the top of the
program.
Important: In order to receive credit for showing creativity, you must include a comment at the top of the
program that describes in sentences what you have added.
Milestone Requirements
By the middle of the week, to help make sure you are on track to finish the assignment, you need to complete the
following:
The program should work correctly for the first question and possible choices, and displays a followup response to
each choice including an else condition
For the milestone, you do not need to implement any additional scenariosquestions you only need the first
one.
Create a design for your complete game.
Prepare for the rest of your game by deciding on all the possible prompts, choices, and responses that the
user'might see. You should design the complete game, including else conditions. Then, to finish up the
assignment for the next lesson, you'll just need to code up all of these options.
Feel free to write this design out on paper or in a document Word Google Docs, Powerpoint, etc. whatever is
most convenient for you. You should write each possible scenario along with its choices. Then, for each choice,
write the resulting scenario with its choices, etc.
You are not required to submit this design to Canvas, but you should complete it as part of your Milestone to
make sure you are prepared to finish the program.
Final requirements
At the end of the week, you need to finish your implementation. If you change your mind slightly from your original
design, that's okay.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
