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.
-
Notifications
You must be signed in to change notification settings - Fork 0
MSH-trojan/Java_17_Pet_game
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple game to adopt a pet and decide to feed or play with it. have fun playing the game!
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published