TCS taxonomy v0.17
Faro Shuffle
Experimental: structure may change in a subsequent edition. This page is pinned to v0.17.
A perfect alternating weave of two halves
Source fragment
The following is documentation data, not a standalone document or validation schema. Resolve references against the original source schema.
{
"id": "faro-shuffle",
"description": "A perfect alternating weave of two halves",
"labels": {
"en": "Faro Shuffle",
"es": "Barajada Faro",
"fr": "Mélange Faro",
"de": "Faro-Mischen"
},
"family_ref": "true-shuffles",
"action_contract": {
"parameters": {
"weave": {
"required": false,
"description": "Which half retains the top and bottom card of the combined packet (required when n is even)",
"domain": [
"in",
"out"
]
},
"straddle": {
"required": false,
"description": "Which half is larger, for an odd packet (required when n is odd)",
"domain": [
"top",
"bottom"
]
},
"with": {
"required": false,
"description": "A second pile (a pile id) woven with the target instead of the target's own two halves: the target is the upper half, this pile the lower. The two piles must hold the same number of cards, or the target one more or one fewer; weave is still required for equal piles, and straddle is implied by the sizes. The target takes the woven cards and this pile is emptied (a packet disappears)",
"domain": "pile id",
"default": "unspecified"
},
"repeat_count": {
"required": false,
"description": "How many times the whole shuffle is performed in succession, each pass on the result of the previous one (a count of passes, not of cards)",
"domain": "integer >= 1",
"default": 1
}
},
"post_state_invariant": "The two halves interleave card-for-card. For an even packet, weave: out keeps the original top and bottom cards outermost, and weave: in moves them to second from the top and second from the bottom. For an odd packet, the halves differ by one card, the larger half named by straddle supplies both the top and the bottom card, and every card interleaves.",
"post_state": {
"state_schema_ref": "https://tamaraspec.org/schema/tcs-playing-cards-state-0.1.json",
"effects": [
{
"op": "permute",
"subject": "target",
"permutation": "faro",
"args": {
"weave": {
"param": "weave"
},
"straddle": {
"param": "straddle"
},
"with": {
"param": "with"
},
"repeat_count": {
"param": "repeat_count"
}
}
}
]
}
}
}Verbatim JSON · Source: schemas/tcs-taxonomy-0.17.json/verbs/faro-shuffle