The enemy boat disappears when hit.
Nothing happens to your ship when it.
The code works but is a mess.
I coded for the cannonballs size/moves in one list.
It would be much easier having 2 separate code lists.
You can fix this if you want.
The enemy cannonball value sets to 1 when falling.
This makes it attack.
Check the code and code for when the enemy cannonball hits the players ship.
You can recode the controls and make whatever changes you want.
Delete in edit.
The enemy ship fires vaguely in your direction when you are to the left/right of the enemy ship.
You could make the players ship slower to increase difficulty.
Also the players cannonball value sets to 1 when falling and only causes damage when falling.
This is to make sure an enemy ship in the distance doesn't get hit when the ball touches the ship until the players cannonball is smaller and coming down.
I know you have good ideas for money/health/weapons etc.
Some ideas you can use if you want.
Have treasure chests float towards the players ship when an enemy ship is destroyed
Be able to buy more cannons to fire 2-3 cannonballs at a time.
Buy stronger ships/faster ships.
Have a large squid/sea monster to fight like a boss battle.
I did a better job of firing the cannon on Tynker after learning my mistakes coding on Hopscotch.