Create a text adventure game that uses pointers you have a

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

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 saftely 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/saftey 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: EM13371469

Questions Cloud

Question identify and evaluate three reasons why supply : question identify and evaluate three reasons why supply chain management is an important part of the value-delivery
Essay question 2billy of billys warehouse in maine : essay question 2billy of billys warehouse in maine contracts with motor carriers for deliveries however they assess him
The data for patients give below who went through blood : the data for patients give below who went through blood pressure monitoring has been uploaded to the sas server also
1 a kern corporation entered into an agreement with its : 1. a kern corporation entered into an agreement with its investment banker to sell 15 million shares of the companys
Create a text adventure game that uses pointers you have a : create a text adventure game that uses pointers. you have a rich eccentric uncle billy who is soon to be deceased.he
What biological structure does the winding stairs in : what biological structure does the winding stairs in jeromes apartment resemble? what do we call this arrangement? what
Two sessions of swimming lessons were held at a pool in the : two sessions of swimming lessons were held at a pool. in the first session 40 students attended. of these 40 students
Do you agree with the articles conclusion that what is : do you agree with the articles conclusion that what is distinctive about the lean production concept is the importance
For the composite areas shown first determine the centroids : for the composite areas shown first determine the centroids and second determine the moment of inertia with respect to

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Define a base class to use for the entire program

Your company, Datamax, Inc., is in the process of automating its payroll systems. Your manager has asked you to create a program that calculates overtime pay for all employees.

  Write a program which has a base process which communicates

write a program which has a base process which communicates with child processes acting as bombers that it

  Write a program to hold an array of 20 numbers read

Write a program to hold an array of 20 numbers read in from the keyboard and display them backwards. Use a array and a loop to cycle through the numbers.

  Rationalnumber class a rational number is a number that can

rationalnumber class a rational number is a number that can be represented as the quotient of two nbspintegers. for

  Write a program that creates an arraylist

Write a program that creates an ArrayList and adds a Loan Object, a Date Object, a string, JFrame object, and a circle object to the list, and use a loop to display all the elements in the list by invoking the object's toString() method.

  The method takes an array

The method takes an array of integers and returns true if there exists any item in the array that satisfies a specified condition. For instance, the following code fragment:

  Lexicographically preceding permutation

Output a single line containing a space separated list of integers which is the lexicographically preceding permutation of the input permutation.

  Using the following program as a guide

Using the following program as a guide, write a program reads in 2 scores in the main function.. Calls a function that will triple each number. In the function and the print the result in the main function.

  Describe the process replace a do...while loop with an equiv

Describe the process you would use to replace a do...while loop with an equivalent while loop. What problem occurs when you try to replace a while loop with an equivalent do...while loop? Suppose you have been told that you must remove a while loop a..

  Creates an array of six divsales objects

Write a program that creates an array of six DivSales objects. The program should ask the user to enter the sales for four quarters for each division. After the data are entered, the program should display a table showing the division sales for ..

  rewrite that statement in a more readable style.

Give an example statement in C, C++, or Java that is particularly unreadable. Rewrite that statement in a more readable style.

  Dynamically allocates an array large enough

Write a program that dynamically allocates an array large enough to hold a number of test score. The size of the array should be input by the user

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