Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Your game will allow the user to choose their own adventure. The user gets to make decisions as he or she progresses through a story

Your game will allow the user  to choose their own adventure.  The user gets to make decisions as he or she progresses through a story or game.


 

Your program must use the three types of selection statements(if, if/else and elifs)  and nested ifs . It should accept input from the user and print statements to the screen. 

Please note if/else don't have to be used for every choice but should be used at least twice in the program.  You are expected to only use concepts that we have covered so far in the course. 


 

Your game will present to the user a plot line and an initial decision to make. The user will enter in data to indicate his or her choice, and then the story should continue to present the user with plot twists, new characters and decisions. All choices should lead to final outcomes: some successful, others not. 


 

Try not to make your choices too complicated or too many. There should be at least three outcomes. 


 

You decide the context, theme or plot of your story. Some suggestions include:


 

  • The user is an astronaut trying to reach Mars.
  • The user is a pirate trying to discover a buried treasure.
  • The user is a movie star living in L.A.
  • The user is in a haunted house and must get out.
  • The user has lost his or her phone and is trying to find it.
  • The user is a country leader trying to make the best decisions for the people.
  • The user is making career choices.
  • The user is a driver in an 'around the world' rally race.
  • The user is making life choices after winning the lottery.
  • The user is a sales clerk trying to sell to customers.
  • The user is a plane crash survivor trying to stay alive.
  • The user is a crime fighter trying to solve a mystery.
  • The user is a Canadian traveler trying to get home after a hurricane.
  • The user is a Grade 9 student looking for his or her first class.
  • The user is a Grade 11 math student deciding what method to use to factor a quadratic expression.
  • The user is running a 3 team tournament to find a winner


 

Be sure to follow the programming style guidelines and use proper variable names, spacing, indenting, commenting, program header etc.


 

Also, make sure that you make it clear to the users what information is needed to be entered to make their decisions. In addition,  If  the user is asked a yes or no question your program should respond  Y or yes and  N or No. Use .Use .equal to compare the user response. Watch this video : Comparing user responses  see this video:  https://codehs.com/lms/assignment/105488737


 

 The user should be asked at least 5 level questions.


 

Program should also have :

  • Title
  • an introductory screen with a brief description of the program and instructions of how to use the program.
  • Each path should be written clearly to ensure the user has an understanding of the program and what the options are.
  • Ending screen stating the ending of the story and thanking the user for participating.


Write this on codes with java.

Step by Step Solution

3.49 Rating (166 Votes )

There are 3 Steps involved in it

Step: 1

Sure heres a simple Java textbased chooseyourownadventure game based on the theme of a plane crash survivor trying to stay alive The game will have an introductory screen ask the user to make decision... 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: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Smith and Roberson Business Law

Authors: Richard A. Mann, Barry S. Roberts

15th Edition

1285141903, 1285141903, 9781285141909, 978-0538473637

More Books

Students also viewed these Programming questions