cloakfall
    Preparing search index...

    Function playerSet

    • Store the player attributes. board and shipFleet start as placeholders (an empty object, an empty array); they are given their real values once the board is built (see buildPlayers).

      Parameters

      • board: Matrix | Record<string, never> = {}
      • name: string = ''

      Returns Player