Question: Create a Java text based game 1. Must have a Player class. a. player must have health attribute and score b. player can only carry

 Create a Java text based game 1. Must have a Player

Create a Java text based game 1. Must have a Player class. a. player must have health attribute and score b. player can only "carry" 3 items c. once health is finished, end game d. score can be calculated from the killed enemy 2. Must have Enemy Class a. Enemy have health and damage 3. Player have commands: a. Pick up to pick up items b. Drop drop items C. Attack attack enemies d. Use use any item within your inventory 4. There are 5 different rooms: a. Office b. Kitchen c. Theater d. Gym C. exit 5. Room have different items a. knife to attack enemy b. potion - to heal player c. key to unlock exit door d. stick - attack enemy 6. Objective to clear the game: a. Kill enemies b. find key for exit door

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!