cloakfall
    Preparing search index...

    Function placeShip

    • Place a ship from the player's chosen start and end points, if the placement is valid. Returns false if it is not.

      Parameters

      • board: Matrix
      • shipInfo: ShipSpec
      • start: Point
      • end: Point
      • view: boolean = true

      Returns false | Ship