TamaraThe specification

TCS taxonomy v0.5

Display

Experimental: structure may change in a subsequent edition. This page is pinned to v0.5.

Expose faces to observers without changing order or orientation

Source fragment

The following is documentation data, not a standalone document or validation schema. Resolve references against the original source schema.

{
  "id": "display",
  "description": "Expose faces to observers without changing order or orientation",
  "labels": {
    "en": "Display",
    "es": "Mostrar",
    "fr": "Afficher",
    "de": "Präsentieren"
  },
  "family_ref": "displays",
  "action_contract": {
    "parameters": {
      "side": {
        "required": false,
        "description": "Which side is shown",
        "domain": [
          "face",
          "back",
          "visible"
        ],
        "default": "face"
      },
      "mode": {
        "required": false,
        "description": "Whether cards are shown singly or as one impression",
        "domain": [
          "individual",
          "collective"
        ],
        "default": "individual"
      },
      "position": {
        "required": false,
        "description": "Position within target the shown card(s) start at",
        "domain": "top | bottom | integer >= 1",
        "default": "top"
      },
      "count": {
        "required": false,
        "description": "Number of cards shown",
        "domain": "integer >= 1 | all",
        "default": "all"
      }
    },
    "post_state_invariant": "The side named by side of target's count cards starting at position (all of them by default) is exposed to observers, per mode; card order and orientation are unchanged by this action.",
    "post_state": {
      "state_schema_ref": "https://tamaraspec.org/schema/tcs-playing-cards-state-0.1.json",
      "effects": [
        {
          "op": "show",
          "subject": "target",
          "select": {
            "position": {
              "param": "position"
            },
            "count": {
              "param": "count"
            }
          },
          "side": {
            "param": "side"
          },
          "mode": {
            "param": "mode"
          }
        }
      ]
    }
  }
}

Verbatim JSON · Source: schemas/tcs-taxonomy-0.5.json/verbs/display

See also