move your mouse pointer to point your cannons to attack. It's simple as that! If you do not have a mouse, then use arrow keys or wasd. Please comment any suggestions, problems, or bugs in the game. It would help improve the game! logs (detailed version): v1.0: normal cannon: red bullets, 0.5 sec reload. fast cannon: orange bullets, 0.2 sec reload. sprayer: yellow bullets, 3 sec reload, shoots in bursts of 10. piercing cannon: green bullets, 3 sec reload, can pass through enemies. normal enemy: common, 10 HP. big enemy: rare, 50 HP. v1.1: forcefield: 30 sec regen, 100 HP. core: must be protected, 20 HP, when destroyed, will destroy the aircraft carrier. speedy enemy: uncommon, 5 HP. shielding enemy: uncommon, 20 HP, activates shield when attacked, blocking attacks, but it cannot move. v1.1.1: spinner cannon: cyan bullets, 2 sec reload, shoots 3 at once, bullets revolve around it. v1.2: added crosshair: red one is your mouse. blue one is your auto-cannon aim. auto cannon: blue bullets, 0.5 sec reload, points towards nearest enemy. v1.2.1: frontward enemy: rare, 30 HP, does not take any knockback. v1.3: bug fixes. big enemies buffed to 80 HP bomber cannon: dark blue bullets, 10 sec reload, bullets explode on impact. v1.4: added keyboard accessibility. added day/night cycle. spy enemy: rare, night only, 30 HP, can only be seen when your pointer is close to it.
thanks to @pusheen4robot for the idea! All code made by me!