// Returns true if all ships have sank (complete fleet was hit) and false otherwise public virtual bool IsGameOver() { if (_carrier.IsSank() && _battleship.IsSank() && _destroyer.IsSank() && _submarine.IsSank() && _assaultShip.IsSank()) { return(true); } return(false); }