Contents

init(tableSetup:version:)

Creates a tabletop game with the specified table configuration and version of rules.

Declaration

@MainActor init(tableSetup: TableSetup, version: Int = 0)

Parameters

  • tableSetup:

    The initial arrangement of seats, equipment, and counters during gameplay.

  • version:

    The version of rules for this game.

Discussion

Players can only join multiplayer games when their rules version matches other players.

See Also

Creating a tabletop game