TamaraThe specification

TCS taxonomy v0.8

False Deal

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

A card from a stated position other than the top is dealt

Source fragment

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

{
  "id": "false-deal",
  "description": "A card from a stated position other than the top is dealt",
  "labels": {
    "en": "False Deal",
    "es": "Reparto Falso",
    "fr": "Donne Fausse",
    "de": "Falsches Geben"
  },
  "family_ref": "false-deals",
  "action_contract": {
    "requires": [
      "source"
    ],
    "parameters": {
      "source_position": {
        "required": true,
        "description": "The position the dealt card actually comes from",
        "domain": "second | bottom | center | integer >= 2"
      },
      "count": {
        "required": false,
        "description": "Number of cards dealt this way",
        "domain": "integer >= 1",
        "default": 1
      },
      "piles": {
        "required": false,
        "description": "Target pile references receiving cards (post-state-effects.md §2)",
        "domain": "array",
        "default": [
          "target"
        ]
      },
      "distribution": {
        "required": false,
        "description": "How cards are apportioned across piles",
        "domain": [
          "round_robin",
          "pile_by_pile"
        ],
        "default": "round_robin"
      },
      "pile_position": {
        "required": false,
        "description": "Insertion position within each receiving pile",
        "domain": [
          "top",
          "bottom"
        ],
        "default": "top"
      },
      "face": {
        "required": false,
        "description": "Resulting face orientation of the dealt cards",
        "domain": [
          "face_up",
          "face_down",
          "kept"
        ],
        "default": "kept"
      }
    },
    "post_state_invariant": "The card(s) at source_position in source (not the top) move to the named target pile(s); source's remaining relative order is otherwise unchanged.",
    "post_state": {
      "state_schema_ref": "https://tamaraspec.org/schema/tcs-playing-cards-state-0.1.json",
      "effects": [
        {
          "op": "move",
          "select": {
            "position": {
              "param": "source_position"
            },
            "count": {
              "param": "count"
            }
          },
          "from": "source",
          "to": {
            "param": "piles"
          },
          "arrival": "singly",
          "at": {
            "param": "pile_position"
          },
          "face": {
            "param": "face"
          },
          "distribution": {
            "param": "distribution"
          }
        }
      ]
    }
  },
  "presents_as": "deal",
  "presents_as_parameters": {
    "source_position": "top"
  }
}

Verbatim JSON · Source: schemas/tcs-taxonomy-0.8.json/verbs/false-deal

See also