Create a text adventure game that uses pointers

Assignment Help C/C++ Programming
Reference no: EM13209192

You are to create a text adventure game that uses pointers. You have a rich, eccentric Uncle Billy who is soon to be deceased. He has left you a fortune in gold in a saftey deposit box, but knows that you like riddles and challenges. On your journey you will run into 3 people who will give you clues indicating the safety deposit box you will need to open if you are to receive your inheritance. They will each ask you a riddle, and if your response is correct, they will give you a few of the characters in the saftey box number. If you answer incorrectly, the will probably give you false information. Once you have met each of the 3 "riddlers", you will head off to the bank and test your code. Will you be victorious or will you be meeting face to face with your deceased Uncle Billy? You are to write a program that uses a pointer to a poiner to a string object.

The memory location of the pointers are to be used as the codes/safety deposit box numbers. This program should be broken down into functions, at least one for each clue. Be aware of the scope of your variables when creating this assignment.

To get full credit for this program, you will need to use a pointer to a pointer to a string object, and utilize at least one constant pointer. You must use the pointers in if statements to decide if you win or lose the gold, and you must use functions.

Try to make an interesting story. You can find riddles on the internet to use if you don't have any of your own.

Reference no: EM13209192

Questions Cloud

What is the equilibrium price and quantity : Given the following Demand and Supply functions answer questions a thru d. Qd=120-2P+5I Qs=-10+4P-3W where P=$3 is the price of the good. I=$100 per capital consumer income W= $50 wage rate a. Derive the demand and supply curves (qd and qs).
Calculate output and price at revenue maximizing activity : Had to ask again as other answer didn't make sense...Commercial Recording, Inc., is a manufacturer and distributor of reel-to-reel recording decks for commercial recording studios. Revenue and cost relations are: TR = $3,000Q - $0.5Q2.
Cabinet departments and regulatory agencies : Cabinet departments and regulatory agencies...
Describe conflict from you text or your personal experience : Describe a conflict from you text or your personal experience that occurred in the health care field. How did diversity contribute to this conflic
Create a text adventure game that uses pointers : To get full credit for this program, you will need to use a pointer to a pointer to a string object, and utilize at least one constant pointer. You must use the pointers in if statements to decide if you win or lose the gold, and you must use func..
Which country produces two goods-textiles and computers : Indiadesh is a country that produces two goods, textiles and computers. Last year, Indiadesh produced 500 textiles and 1300 computers. This year it produced 450 textiles and 1100 computers. Given no further information.
Exhibit advertisement : You are in charge of marketing and advertisement at your local art museum. Next month, the museum will be hosting an exhibition on the social role of the arts in early Chinese and Japanese civilizations.
Why price does not affected quantity demanded : Qt = 2.5 - 0.3 x Pt + 12 x Mt Where Qt represents the quantity of widgets sold per period t, Pt represents the price of widgets during period t, and Mt represents average household income of customers during period t.
What role does advertising have in pure competition : 2. If you were to own a firm within a purely competitive industry, what kind of profit margins would you expect to enjoy 3. What role does advertising have in pure competition

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd