every 60 seconds your bug will get hungry. press f to spawn food for it. if it is hungry, hunger: 1. if it is not hungry, hunger: 0. hungry is a counter for how long the bug has been hungry for... if this reaches 60 seconds, your bug will die. speed is 5 when bug is hungry and 10 when bug is not hungry. if you spawn food while bug is not hungry it will leave the food and only go for it when it is hungry. you can click your bug to pick it up and press space to drop the bug. your bug will grow 1% bigger every time it eats.
I made this myself. be sure to check my other games!