Solid gameplay mechanic, I like the addition of the plant food to distract nearby enemies. It did seem like there was a pretty persistent bug that killed the player when you used the last plant which meant you couldn't progress very far.
I think the reason you were dying at the end was because after you use the last plant, there would be no hope of killing the remaining bugs.
That mechanic might need to be better explained, it wasn't mentioned in the tutorial or description.
Yeah, that's a good idea. Thanks for the feedback!