One of my students is trying to accomplish the following:
- Health level starts at 0.
- Cat touches banana, and gains 1 health point. Banana also disappears.
- Cat can now shoot fireball using spacebar (now that the banana is gone) and loses 1 health point the first time it shoots.
- Cat can continue shooting fireballs for as long as it wants.
Everything works except for #3 and #4. Could someone please have a look and let me know where we’re going wrong? Link:flowlab.io/game/play/879501
Thanks very much in advance!