Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 602 Bytes

README.md

File metadata and controls

7 lines (7 loc) · 602 Bytes

Write a java code that will let you adopt a pet by you choosing the type of pet you want. then, your pet will have Hunger, happiness, and energy levels. now you have to either feed or pla with your pet. the baseline of all levels is 15. feeding the pet will increase its energy and hunger level but reduce the happiness. playing with the pet will increase its happiness but reduce its hunger and energy levels. we also have the option of ending the game when the user types "yes". then we will stop the game. after ending the game, a status of the pet with the levels will be shown to the pet owner.