Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We ve been asked to help build a new medieval adventure game, Summer Is Coming. We re trying to figure out the gameplay mechanics, so
Weve been asked to help build a new medieval adventure game, Summer Is Coming. Were trying to figure out the gameplay mechanics, so were starting with representations for travel around the game world. Players can live in three types of housing: a Hut, an Inn, and a Castle.
A Hut has a capacity and the current count of its population. The population must be less than the capacity.
An Inn has a name, capacity and the current count of its population as well as the number of stalls in its stable. The population must be less than the capacity.
A Castle has a name, the familyname of the owners, the current count of its population as well as the number of carriages it can hold in its carriagehouse.
There are types of transportation in this game:
Horse
Carriage
Each type of transportation should have a from and a to housing. Horses also have a name and a color which you may represent using the colors name They can only go to an inn if there is room in the stables, but they can go to any hut or castle.
Carriages can only carry a limited supply of tonnage and only travel from Inns to Castles or vice versa. When they go to a Castle there must be room for them in the carriage house.
Define six examples of housing, including:
hovel: Capacity population
winterfell: Named "Winterfell", family name "Stark", population can hold carriages
crossroads: Named "Inn At The Crossroads", capacity population stalls
The others can be whatever you wish.
Define four types of travel, two of each kind.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started