Question: C++ Can anyone help me program something like this? This project will help you show your mastery of 2D storage/processing and strings (and branching, looping,

C++ Can anyone help me program something like this?

This project will help you show your mastery of 2D storage/processing and strings (and branching, looping, etc.). Create a maze and allow the user to roam around in it. Don't think graphics, obviously. Think characters. A grid of X s or # s can form a maze quite nicely: (Okay, so I'm not an artist...*phbbt*) (That @ is the player/user and the E is the exit they need to reach.) Also think turn by turn - not real-time/interactive. In other words, you print the maze, the user tells you which way they want to move, you 'calculate' the new state of the maze, then re-draw it etc. Suggestions: Mark the user's position with the @ symbol. Mark walls in your maze the % sign, # sign, or a capital x. Make the walking positions clear (a space). Remember, people cannot walk through walls! They also cannot walk off the edge of the world... Let them tell you which way they want to go in a natural way: north, south, east, west (or up, down, left, right). They should just type the word - not choose from a menu. (This is known as a command interface - like the $ prompt.) Other commands you should allow are quit, score (see options), inventory (see options), drop_(see options), and help (to print the list of commands). Make sure to mark the exit clearly (an E perhaps?) so they know where they are supposed to go

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!