Skip to content

A simple game to adopt a pet and decide to feed or play with it. have fun playing the game!

Notifications You must be signed in to change notification settings

MSH-trojan/Java_17_Pet_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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.

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

No packages published

Languages