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:
stateTableState

The table after the intent applied.

actorstr

Display name of the acting seat.

intentIntent

The intent that was accepted.

eventEvent

The event it produced, whose cards name the affected cards.