cloakfall
    Preparing search index...

    Function inPlay

    • Whether the game is being played, as opposed to the menu, placing ships, choosing the order, or the end. It starts when someone first has the turn, and lasts until the boards go, someone wins, or ships are being placed again (a restart): between two turns there is a moment when nobody has the turn, which must not hide the bar or forget what the viewer chose.

      Parameters

      • players: BarPlayer[]
      • wasInPlay: boolean = false

        what this returned last time

      Returns boolean