yasuki_web.game_log.describe_intent#
- describe_intent(state, actor, intent, event)[source]#
Build the shared game-log segments for one accepted intent, safe to show both seats.
A card is named (and linked) only when it is publicly visible on the battlefield; everywhere else it reads as “a card”. Pure card repositioning (
SET_CARD_POS) is not shown — the result is an empty list, and the caller logs nothing.- Parameters:
- state
TableState The table after the intent applied.
- actor
str Display name of the acting seat.
- intent
Intent The intent that was accepted.
- event
Event The event it produced, whose
cardsname the affected cards.
- state