The game is lost not only if the player's ship is destroyed, but also if the enemy fleet reaches the player's ship.
To determine the coordinates of the lower edge of the enemy fleet, we'll add a getBottomBorder() method.
If all the enemies are destroyed, the player wins. For convenience, we'll add