You are to create a text adventure game that uses pointers

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

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

Questions Cloud

1which twentieth century technology has produced more : 1which twentieth century technology has produced more changes in our lives television or the automobile? what have
Question 1 1you currently make a part on old equipment at a : question 1 1.you currently make a part on old equipment at a cost of 50000 per year and a variable cost of 20 unit.
Question 1nbsp in the epic of gilgamesh what happened to : question 1nbsp in the epic of gilgamesh what happened to the plant of rejuvenation given to gilgamesh by utanapishtim?
When are internal change agents more likely to be : when are internal change agents more likely to be successful as compared to external change agents? if both are
You are to create a text adventure game that uses pointers : you are to create a text adventure game that uses pointers. you have a rich eccentric uncle billy who is soon to be
You are given the following functions in a fully : you are given the following functions in a fully competitive marketmarket demand function qd 20 - 3p market supply
Discuss the following topicnbspis restructuring of : discuss the following topicnbspis restructuring of operations a solution to operating exposure?nbspoperating exposure
Pure inc is expected to pay dividends of 350 450 and 550 : pure inc. is expected to pay dividends of 3.50 4.50 and 5.50 over the next three years. the stock is expected to have a
1catola shoes an athletic shoe and clothing manufacturer is : 1.catola shoes an athletic shoe and clothing manufacturer is considering a move into the fashion clothing business

Reviews

Write a Review

C/C++ Programming Questions & Answers

  User that will be asked to input the time

Write a code for the following C++ problem. We will have a user that will be asked to input the time of a train traveling in terms of minutes and this minutes is a non-negative integer.

  You have to develop a basic temperature classnbsp base

you have to develop a basic temperature class.nbsp base skeleton code and a simple driver have been provided for

  Write a program that will calculate the percentage

Write a program that will calculate the percentage wins of a team. The program will input the number of wins and losses that a team acquired during a season. The wins should be input in a parameter-less value returning function that returns the wi..

  Write a program that inputs two characters

Write a program that inputs two characters from the keyboard and passes them to function packCharacters.

  In psuedocode, design an application

In psuedocode, design an application that has an array of at least 20 integers. It should call a module that uses the sequential search algorithm to locate one of the values

  State diagram to recognize one form

Design a state diagram to recognize one form of the comments of the C-based programming languages, those that begin with /* and end with */. and also Write and test the code to implement the state diagram.

  Write a program that reads numbers

Write a C++ program that reads N positive numbers from the keyboard, calculates and shows the smallest number of all numbers

  How do you generate arrays, random numbers

How do you generate arrays, random numbers and multiply and add rows, columns and diagonals in C

  A robot can take steps of 1 meter

A robot can take steps of 1 meter, 2 meters, or 3 meters. Write a recursive function to calculate the number of ways the robot can walk n meters. (n is an integer obtained from user.) As example:

  Write a program that reads from a file a list of course name

Write a program that reads from a file a list of course names, letter grades for each course and number of credits each course is worth. The program will read each course name, grade earned and number of credits from the file and print out the course..

  Write a program that calculates an employees wage for a

write a program that calculates an employees wage for a week. an employees wage is calculated as followsi if the number

  Change temperature fahrenheit to celsius and kelvin

Write a program in c++ that takes the temperature in Fahrenheit and convert it to Celsius And Kelvin:

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