if you have fruit, you can press e to get more time
it takes 8 seconds for a plant to grow and 1 second to water and hoe, so you have 1 second to plant, collect and eat
also, the code is so bad i would have to remake the game