yasuki_core.engine.intents#
Classes
|
Add |
|
Attach a battlefield card to another card or to a province, so it rides behind the parent. |
|
|
|
Base for flag operations that target one or more cards, applied atomically as a batch. |
Add a fresh province zone for the acting seat. |
|
|
Discard the province's contents face-up and remove the province zone. |
|
Break a card's own attachment to its parent in place, leaving anything hung off it attached. |
|
Move the province's top card to the dynasty discard, face-up. |
|
Draw the top card of a deck; routing (hand/province/battlefield) is decided on apply. |
|
A canonical record of one accepted mutation, for logging, redaction, and replay. |
|
Draw a dynasty card face-down into an empty province. |
|
|
|
Flip a fair coin, its result reproducible from the explicit |
|
Flip a deck's top card face up or down in place, revealing it without drawing. |
|
Turn a double-faced card to its other face; a no-op for single-faced cards. |
|
Hand control of a face-up battlefield card to the opponent: the card's owner becomes the other seat. |
|
|
|
|
|
Move one card to a zone, deck, or the shared battlefield. |
|
Pop a deck's top card and move it to a zone, deck, or the shared battlefield. |
|
Privately peek at one of your own face-down cards (or an owner-less public one). |
|
Bring one battlefield card to the top of the stacking order without moving it. |
|
Take a card off the table entirely, wherever it sits. |
|
Move a card already in the acting seat's own hand to a new slot. |
|
Move a card within the acting seat's own deck or discard pile to a new slot. |
|
Roll one |
|
Request a deck's ordered contents; the owner alone receives them. |
|
Reposition one card freely on the shared battlefield. |
|
Reposition several battlefield cards in one message, the wire form of a group drag. |
|
Adjust the acting seat's honor, either by a relative |
|
Set or clear a free-text annotation on a face-up card; an empty note removes it. |
|
Show one of your own cards to your opponent. |
|
Shuffle a deck with an explicit seed so the new order is reproducible. |
|
Put a new public, face-up token on the shared battlefield, copied from a source card. |
|
|
|
Stop peeking at one card, removing the acting seat from its peekers. |
|
Stop showing one of your own cards to your opponent. |
Functions
|
Validate and apply one intent, mutating |
|
Return the reproducible coin result, |
|
Return the reproducible die face, an int in |