I have a game, and I want to make a condition that will stop it.
A ship that shoots another that is in motion,
I have five initial shots.
When I miss the ship, I get shot.
When I hit, I get a shot.
The game ends when the shots hit zero, displaying a "game end you missed" message and your score.
