/**
  * Check whether player won or not.
  *
  * @return
  */
 public boolean didPlayerWin() {
   for (BattleShip ship : rightShips) if (!ship.isDestroyed()) return false;
   return true;
 }
 /**
  * Check whether computer won or not.
  *
  * @return
  */
 public boolean didComputerWin() {
   for (BattleShip ship : leftShips) if (!ship.isDestroyed()) return false;
   return true;
 }