Skip to content

About

Repository for Java Programming Contest Machine Problem

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

SYNTAX Malolos Java Machine Problem

Authored by

  • Tristan Mahinay, JUG Leader, Java User Group Philippines
  • Jansen Ang, JUG Leader, Java User Group Philippines

Environment Instructions

  • Install Git
  • Players should install Java 17 in their machines
  • Use IntelliJ, Eclipse or anything you want that supports Maven. You can also use Notepad++ if you want to run this in a terminal
  • Fork this repository to your local machine

Coding Instructions

  • There are 4 classes namely:

    • Owner
    • Pet
    • PetManager
    • PetManagementSystem
  • You can create additional classes if that will help you solve this problem

  • Create atleast 3 kinds of Pets.

  • Create multiple owners, each of which can own different kinds and a specific number of pets (i.e. three or five)

  • Implement interfaces for behaviors like Playable or Feedable to show different ways pets can interact or be cared for.

  • Pets can have mood states affected by actions like playing or feeding, impacting their responses and behaviors.

    • A hungry pet can be happy after being fed.
    • A sad pet can be happy after playing with the owner.

Please read the guide comments for each class for you to move forward!

Coding Instructions

  • This is good only for 2 hours

Desired Outputs

  • Print all the name of the owners together with the name and type of their pets
  • Print all the behaviors of each of the owners' pets
  • Report the interaction outcomes between different pets and show changes in pet mood after interactions or over time.
  • Bonus points if you can create a simple user interface in the console for interactive management of the pet system.

About

Repository for Java Programming Contest Machine Problem

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages