Question: write the whole program in c + + We will want to extend the Zorkish program you created in earlier tasks to include the loading
write the whole program in c
We will want to extend the Zorkish program you created in earlier tasks to include the loading of an Adventure text file. This file must contain the details of location and connection information for the game world as a graph data structure. Refer to the game specification document on the unit website for details. In this spike we are going to implement a game world graph, with locations and connection, loaded from file. The user will be able to navigate to different locations using the go command hardcoded
Create a program that demonstrates the following:
Design: Specify a design as a sketch or diagram REQUIRED for the textfile format that represents a Zorkish game Adventure details. Include this in your spike report details.
This can be vector based, or a design on paper, and included as images, in your design document.
Specifically, your design will need to include at this stage world locations, location details name description etc. and connections to other locations.
You can include other details in your design, but we only need locations and connections.
Args: Take the game world adventure filename at run time using a command line argument.
Graph: Process the locations and connections as a graph data structure in your program.
Go: Implement ONLY the basic go and quit commands. Print location and direction options to the user so they know where they are and what directions they can go in
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
