Player has 20 tacos, you need to feed 10 ghosts. If you are not able to feed 10 ghosts with 20 tacos, you lose the game. You hit "Space" key to throw the tacos at the Ghosts.
Thanks to @Gumball098. I made a few changes.