Make sure to double-tap the green flag or things will go wrong. Use WASD or the arrow keys to move the blue character. Your goal is to collect as many apples as you set at the beginning (under TargetApples) without reaching 0 Health. There are red characters moving around that you will have to avoid. If you hit one, you lose one health and it teleports to a random place. Every ten apples you collect, the red characters reappear. Every four apples you collect, a green character appears (This is toggleable with the Ally button in the main menu.). The green character will collect the green apples. Each time a green apple is collected, the ally will shoot three projectiles that will destroy any red characters they hit. If the ally hits a red character, the ally dies. Each five apples you collect, a powerup spawns. A powerup can either be an orange or a banana. If you get the orange (Shield), you will be invincible for 6 seconds. If you get the banana (Gun), you can activate it by clicking and a projectile like the ally's projectile will shoot in the direction of your mouse pointer. If you try to shoot while in a wall, the bullet will hit the wall. EnemyNumber is how many enemies you will fight. TargetApples is the amount of apples you need to win. StartingHealth is how much health you begin with. Ally: On/Off is whether or not an ally spawns.