cloakfall
    Preparing search index...

    Function boardToShow

    • Which board to show (an index), or null when there is nothing to choose between. During the viewer's own turn: the one they chose while it can still be fired at, else the first target. Otherwise (someone else's turn, or a game with no human, robots only): the board the latest shot landed on, else the one they chose, else the first opponent still alive. The viewer's own board is never one of these (it is always shown).

      Parameters

      Returns number | null