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

  Design for storing the maze layout

Design and implement a C++ program for maze layout

  Perform operations on arrays

Perform operations on arrays execute tests and repetitions

  Write and test c program which outputs waveform

Write and test a C program which outputs waveform which switches from 10.0 kHz with a 50% duty cycle to 25.0 kHz with a 5% duty cycle every 5 seconds.

  Time conversion

Write a C++ program that takes an Eastern standard time in hours, minutes, and seconds,and prints it out in Central time, Mountain time, or Pacific time.

  Develop a two dimensional interactive game

The player starts as a disk, but can "morph" (that is expand and contract) in selected directions

  C program to calculate power loss in transmission line

Write program in C to calculate the power loss in transmission line with resistance of 0.05 ohms/mile. Calculate power loss if 500 kW of power is transmitted from power generation station

  Write a program for find greatest common divisor

Write code for a recursive implementation of Euclid's algorithm

  Recognition of the problem by the hsbc

What problem did the HSBC face in this case? What people, technology, and the organization factors were responsible for problem? Did HSBC management correctly recognize the problem?

  Techniques for information hiding and encapsulation

What techniques did you utilize for information hiding and encapsulation? Are there any improvements you would make? If so, what would they be?

  Code to implement a staque

Write a C++ code to implement a Staque. Since the data structure is all about inserting and deleting numbers, it would be a good option to use a linked list to implement Staque.

  Create a template class

Create a template class, SVector, that implements a constructor

  Write c program that forks two child processes

Write a C program that forks two child processes. The parent process will print all prime numbers up to 229, the first child process will print the first 50 Fibonacci numbers.

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