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

  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