WHAT IT IS:
This timer tracks the food consumption of a creature from a video game. Once started, the timer shows depletes at a predefined rate until it reaches a predefined amount of food. In addition, it will indicate when the creature will starve (if applicable).
HOW IT WORKS:
Users can enter a CURRENT FOOD and a MAX FOOD. When the timer starts, it depletes CURRENT FOOD at a pre-defined rate until it goes through a pre-defined REQUIRED FOOD value. A meter displays the timer's progress.
CURRENT FOOD: 50
MAX FOOD: 100
REQUIRED FOOD: 200
Timer must go through 200 food. 50 has been already been consumed (MAX-CURRENT). Timer starts at 150 out of 200 (75% remaining). Timer finishes when it reaches 0 (CURRENT FOOD will be at -100).
A pre-defined STARVE value indicates how much FOOD must deplete before the creature starves. This is simply indicated on the meter as an "UNTIL STARVED" label. If the STARVE value is higher than the MAX FOOD value, it is not displayed because the creature will not starve before it reaches UNTIL TAMED.
MAX FOOD: 100
REQUIRED FOOD: 100
A "UNTIL STARVED" indicator will be displayed halfway through the meter (50 / 100 = 50%).
Users can enter an "ALARM" value. This will simply play an alarm sound once the timer reaches X minutes before the REQUIRED FOOD is met. (Or UNTIL STARVED, if it displayed).
IMPLEMENTATION REQUIREMENTS AND NOTES:
- Full project specifications will be supplied.
- A fully functional timer can be found on the iOS and Android app stores ([url removed, login to view] [url removed, login to view]). Their functionality will be exactly the same and can be used as a reference.
- The final product will be deployed in a similar way as this timer: [url removed, login to view] -- some code and logic can be reused from this timer.