Question: Overview This week we will be building classes to represent objects like you'd find in an old-time, text-base RPG game. We need a basic, underlying

 Overview This week we will be building classes to represent objectslike you'd find in an old-time, text-base RPG game. We need a

Overview This week we will be building classes to represent objects like you'd find in an old-time, text-base RPG game. We need a basic, underlying item that has a name and a weight. We will extend it with food, weapon, and armor classes. We will also need a rudimentary character to test the item classes with. Last week you produced a UML diagram for an RPG inventory. This week you will implement the classes in your diagram. Test Make a main class to instantiate some characters and items. Then thoroughly test your classes. Use print statements where needed to make it clear what is happening when you run your program. Overview This week we will be building classes to represent objects like you'd find in an old-time, text-base RPG game. We need a basic, underlying item that has a name and a weight. We will extend it with food, weapon, and armor classes. We will also need a rudimentary character to test the item classes with. Last week you produced a UML diagram for an RPG inventory. This week you will implement the classes in your diagram. Test Make a main class to instantiate some characters and items. Then thoroughly test your classes. Use print statements where needed to make it clear what is happening when you run your program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!