Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Programming. Using namespace std: and iostream. Create a code skeleton for the oregon trail game. The game can be summarized by six core concepts:

C++ Programming. Using namespace std: and iostream.

Create a code skeleton for the oregon trail game.

The game can be summarized by six core concepts: 1. The player buys supplies before starting the journey to Oregon. 2. There are opportunities to hunt for food along the way. 3. There are opportunities to make purchases at forts along the route. 4. The player must manage the level of supplies to avoid running out. 5. Misfortunes frequently occur. 6. Raiders attacks frequently occur. 7. The game ends when the player (and some of the companions) reach Oregon, when the player dies along the way, or when the player runs out of vital supplies (oxen, food, wagon parts). Initial conditions: At the beginning of the game, the player (the leader of the expedition) is asked to enter their name. Next, the leader is asked to enter the names of the other four travelling companions Player starts in Independence Missouri (mile 0). There are 2,040 miles to go until the arrival in Oregon City. Player starts with $1200. Before departing, the player spends $200 for purchasing a wagon. Before the start of the trip and after purchasing the wagon, the player can visit the store and buy supplies: food, oxen, bullets and wagon parts. More details on the Visit the store activity later. Player is given the choice to start on the default start date of 03/28/1847 or to choose a different departure date between 03/01/1847 and 05/01/1847. Present the player with the option to start on the default date If they refuse, ask them to choose their starting month, followed by the starting day The player must arrive in Oregon City by November 30th , 1847.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago