Create a text adventure game that uses pointers

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

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: EM1386115

Questions Cloud

Calculate the efficiency of biological oxidation of glucose : Assume you learned in class that DeltaG for compete oxidation of glucose is -686kcal/mole. According to the DeltaG for ATP and the numbers of ATP,
Compute net present value and return on investment : Compute net present value (NPV) and return on investment (ROI) and present break-even analysis (BEA). Suppose discount rate of 12 percent and five-year time horizon.
Behaviour of transformed cells : Normal cells greatly slow their rates of cell division after filling culture dish with layer that is one cell deep. If a circular group of cells is removed from the middle of the filled culture dish.
Bio lab experiment – question : Create an experiment in which you will test the effect of an acidic fluid on enzymatic activity. To complete this assignment, it may be useful for you to review the Scientific Method Tutorial.
Create a text adventure game that uses pointers : Create a text adventure game that uses pointers. You have a rich, eccentric Uncle Billy who is soon to be deceased.
Mean annual cost to attend a private university : For the most recent year available the mean annual cost to attend a private university in the US was $26,889. Assume the distribution of annual costs follows a normal probability distribution and the standard deviation is $4,500. 95% of all studen..
Describe potential challenge for collaboration-it department : Author recommends ways to do this. Describe potential challenge that this type of collaboration might face and explain way of dealing with it.
Inversion or translocation heterozygotes : Inversion or Translocation heterozygotes have difficultyin producing gametes that function properly. Is there a way that an Inversion heterozygote could manufacture functional gametes?
Write jvm program which accepts rpn expression : Write down the IJVM program which accepts RPN expression, with each operand and operator entered line by line. As each number (operand) is entered, push it on stack.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write function compute square root together with prototype

Write a C++ function called compute together with its prototype that is passed 2 integers, A and B and returns the square root of A2+B2 ,as a double.

  Write a program to crypt its input accordingly

Write a program to crypt its input according to a specified transformation scheme

  Design and write a c++11/fltk game program

The project is to design and write a C++11/FLTK game program with a graphical user interface. The game is based on "pancake sorting," which actually has some mathematical significance.

  Design a nested program

How many levels of nesting are there in this design?

  Write a program to calculate existing angles

Write a program to calculate existing angles and do if and then from this, and to place fixed angles at certain position.

  Implement a semantic analysis

The program will implement Semantic Analysis. The assignment provides two options to define variable scope, either using the Global Option or the Local Option.

  Write a program that inputs a dollar amount to be printed

Write a program that inputs a dollar amount to be printed on a check and then prints the amount in check-protected format with leading asterisks if necessary

  Write a program to read a data file and extract parameters

Write a C/C++ program to read a data file and extract parameters. The program must obtain the filename via a command-line argument.

  Function declare that it can throw an ioexception

Every C++ function that performs file I/O will thus need to either declare that it can throw an IOException, or contain a try-catch-finally block to deal with it. Response?

  Design for storing the maze layout

Design and implement a C++ program for maze layout

  Write c function to sort one dimensional integer array

Consider the values sorted in the array. Sort it in ascending order using Bubble sort technique showing all iterations: write C function to sort one dimensional integer array in ascending order.

  Program to declare array alpha of components of type int

Write C++ statements to do the following: Declare an array alpha of 15 components of the type int. Output the value of the tenth component of the array alpha.

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