Open naikibro opened 4 months ago
We should create the following functions
Ship.isDestroyed Ship.isHit
Tile.isHit Tile.isDestroyed
Game.isWin
We should create the following functions
Ship
Ship.isDestroyed Ship.isHit
Tile
Tile.isHit Tile.isDestroyed
Game
Game.isWin
Output