naikibro / BatailleNavale

A collaborative Java project to implement the "BatailleNavale" game
1 stars 0 forks source link

Create the logic to determine if a ship is destroyed #28

Open naikibro opened 4 months ago

naikibro commented 4 months ago

We should create the following functions

Ship

Ship.isDestroyed Ship.isHit

Tile

Tile.isHit Tile.isDestroyed

Game

Game.isWin

Output