oregon trail

The game will work as follows:
 The game will boot into a short “splash screen” asking for input to start, quit, or displayinstructionso Instructions will explain how to play the gameo Starting the game will display the viewport, and ask for the first input
 The user will begin to traverse the map to attempt to successfully cross the Oregon Trail
o The game will take input as “up/down/left/right” from the user to move to a newsquare, or “exit” to allow the user to quit the game  The viewport is displayed to the player along with his current food status and coordinates onstartup and after each action. Upon arriving on the square the user will encounter one of the followingo River – must be crossed/retreated from
 A river crossing will lose a constant amount of food (20) o Wild animals – may hunt/retreat  After an animal has been discovered, it will appear on the viewport until it ishunted  Retreating moves the player back to the previous square
 Hunting the animal will remove the animal from the viewport, and the playermoves into the new square  Hunting an animal requires a variable amount of days to heal, which will costfood, but food is also gained from the hunt. The following represents the totalfood change:
 Grizzly: -10 food  Boar: -5 food  Elk: -0 food  Hare: 5 food o Disease – will take time to rest, costing food:
 Cold: -5 food  Flu: -10 food  Dysentery: -15 food  Winning: o The player wins the game if he successfully traverses the Oregon Trailo This should display some sort of win screen which displays how much food the playerhad remaining o The screen should require an enter press to send the user back to the splash screen andallow the user to start the game again  Losing: o The player loses the game if he runs out of food at any point o This should display a lose screen, which requires an enter press to send the player backto the splash screen, and allow the user to start the game again
Map The map will be read in from a file, which will be passed into the program using a command lineargument to the location of the file. (To run the program, you will execute something like “./hw3inputFile.txt”) The map will be read into 2-dimensional linked list of nodes, from which you will bederiving your viewport. Any changes made to the map (by hunting an animal) will be updated to thearray map. A sample input file has been given which defines N, M, amount of initial food, and the maplayout using the first letter of each danger as the marker (i.e. Grizzly is marked with G, Elk with E, Riverwith R, etc…). The map is surrounded by O’s, which is for an impassable ocean space. Anything beyondthe map is more ocean. Viewport Your viewport (MxM as defined in input file, M must be an ODD number) can be thought of as a mini map, or what the player can currently see. All squares except ocean, river, your starting point, and theend point are initially marked as undiscovered.Your viewport should reflect this by displaying a ‘U’ inthat square. You will print the viewport after each action. Discovered squares will display the threat thatis in the square. The viewport will be an MxM 2-dimensional linked list. The viewport will be constructed by copying eachnode from the original map into dynamic memory. Each node will only write back to the map wheneverthe player will be moving to where that node is no longer displayed. At that point, the node will copy itschanged contents back to the map, and then free itself from memory.If they viewport is large enough to see beyond the limits of the map, those squares should be filled witha temporary ocean node which will not be written back to the map. Node A node will be a struct object which contains the following variables: Threat: A union which contains either a disease or an animal. ThreatType: An enum which contains either “DISEASE” or “ANIMAL” XLocation : An integer of the x location in the map
YLocation: An integer of the y location in the map Discovered: A Boolean value as to whether or not the node has been discoveredNode*Up, *Down, *Left, *Right: 4 pointers to the nodes to the top, left, right, and below the node

Calculate your paper price
Pages (550 words)
Approximate price: -

Why Choose Us

Quality Papers

We value our clients. For this reason, we ensure that each paper is written carefully as per the instructions provided by the client. Our editing team also checks all the papers to ensure that they have been completed as per the expectations.

Professional Academic Writers

Over the years, our Acme Homework has managed to secure the most qualified, reliable and experienced team of writers. The company has also ensured continued training and development of the team members to ensure that it keep up with the rising Academic Trends.

Affordable Prices

Our prices are fairly priced in such a way that ensures affordability. Additionally, you can get a free price quotation by clicking on the "Place Order" button.

On-Time delivery

We pay strict attention on deadlines. For this reason, we ensure that all papers are submitted earlier, even before the deadline indicated by the customer. For this reason, the client can go through the work and review everything.

100% Originality

At Graduate Assistants, all papers are plagiarism-free as they are written from scratch. We have taken strict measures to ensure that there is no similarity on all papers and that citations are included as per the standards set.

Customer Support 24/7

Our support team is readily available to provide any guidance/help on our platform at any time of the day/night. Feel free to contact us via the Chat window or support email: support@acmehomework.com.

Try it now!

Calculate the price of your order

We'll send you the first draft for approval by at
Total price:

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

Graduate Assistants has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.


Essay Writing Services

At Graduate Assistants, we prioritize on all aspects that bring about a good grade such as impeccable grammar, proper structure, zero-plagiarism and conformance to guidelines. Our experienced team of writers will help you completed your essays and other assignments.


Admission and Business Papers

Be assured that you’ll definitely get accepted to the Master’s level program at any university once you enter all the details in the order form. We won’t leave you here; we will also help you secure a good position in your aspired workplace by creating an outstanding resume or portfolio once you place an order.


Editing and Proofreading

Our skilled editing and writing team will help you restructure you paper, paraphrase, correct grammar and replace plagiarized sections on your paper just on time. The service is geared toward eliminating any mistakes and rather enhancing better quality.


Technical papers

We have writers in almost all fields including the most technical fields. You don’t have to worry about the complexity of your paper. Simply enter as much details as possible in the place order section.