The task is to test drive the beginnings of an adventure game, and practice good Git etiquette!
A. Create a constructor to create a Hero character
- A Hero has a name
- A Hero has health
- A Hero has a favourite food
- A Hero can talk saying their name
- A Hero has a collection of tasks to complete
B. Create a constructor to create Task objects
- A task has a description
- A task has a difficulty level
- A task has an urgency level
- A task has a reward
- A task should be able to be marked as completed
C. Create a constructor to create Food objects.
- Food should have a name
- Food should have a replenishment value
D. Extend your hero.
- A hero should be able to eat food, and health should go up by the replenishment value
- If the food is their favourite food, their health should go up by 1.5 * value.
- A hero should be able to sort their tasks by difficulty, urgency or reward.
- A hero should be able to view tasks that are marked as completed or incomplete.