Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help with writing the code for the following assignment. I just need a general idea of where to go, so if you could just
Please help with writing the code for the following assignment. I just need a general idea of where to go, so if you could just write what the code for the example program would look like that would be great. We're supposed to be using if-else statements, and the extra credit part can be a loop. Please pay attention to all the program requirements listed below. The language is C++ and I'm using vim to write the program. Please include plenty of comments to explain the code.
Problem Statement The local middle school would like some text adventure games to keep their students occupied during down time. The school is leaving it up to your skill and good judgement to develop a game. It is up to you what the story and theme is but there are some requirements There must be at least five different paths or solutions to complete the adventure There must be an element of chance that would change a user's chosen path You must handle invalid input from the user. Problem Statement The local middle school would like some text adventure games to keep their students occupied during down time. The school is leaving it up to your skill and good judgement to develop a game. It is up to you what the story and theme is but there are some requirements There must be at least five different paths or solutions to complete the adventure There must be an element of chance that would change a user's chosen path You must handle invalid input from the userStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started