Find me the classes for the following case-study:
● The game is populated by characters. All characters have name, a health points,
strength points and money
● Characters can acquire skills during the course of the game.
● A character can carry two items at a time. Some items are weapons.
● There is a special sort of item that is able to contain others: a container.
● Some items are consumable. Consuming an item can increase a character’s healthor
strength
● Games take place in a world consisting of many locations.Each location has a terrain type and a number of health points it costs to
traverse.
● A character is located at a single location at a given game time step. A each time step of the
game, characters can move to a location neighbouring the location they were in at the last
turn.
● Locations can contain items and money.
● When two or more characters are in the same location at the same time, they can interact.
There are two kinds of interactions: combat and trading.
Comments
Leave a comment