Function tideLevel

  • Calculates the tide level for a given game day

    Parameters

    • day: number = ...

      The day to check the tide level of; defaults to today

    Returns number

    The tide level as an integer