Skip to content

An android application using Room Database to manage heroes and their different missions.

License

Notifications You must be signed in to change notification settings

Geryes-Doumit/HeroManager

Repository files navigation

Hero Manager

forthebadge using-jetpack-compose forthebadge

Hero Manager is an android app created for a last-year Computer Science project. I was asked to create an android application using Room Database, incorporating three kinds of data, linked together in a certain way.

I came up with Hero Manager.

The three main concepts are Heroes, Teams and Missions.

Heroes

You can list, add and edit heroes via these screens:

A hero has a Hero name, a real name, a power level and can be attached to one team.

If said team is busy, we cannot edit or delete the hero.

Teams

You can manage different teams via these screens:

A team has a name, members and a leader (that has to be a member). The total team power is calculated by summing the power of every member.

The team has a state (available or busy) depending on if it is in an ongoing mission.

Missions

You can deal with missions via these screens:

A mission has a name, a description, a minimum required power level, and a state. When you create a mission, you can choose to assign a team to it.

When editing a mission, you can start it by pressing "Start Mission". This will set the mission state to "Ongoing" and set the state of the assigned team to "Busy". You can end the mission by clicking "End Mission", which will free up the team.

A mission can only be started if:

  • Its name and description are not empty
  • Its minimum required power is greater than zero
  • The assisgned team isn't already busy
  • The assigned team has a sufficient power level

Created with ❤️ by Geryes Doumit

About

An android application using Room Database to manage heroes and their different missions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages