yasuki_core.engine.setup.flip_second_player_stronghold#

flip_second_player_stronghold(state, seats)[source]#

Resolve turn order by honor and flip the second player’s stronghold to its back face.

The lower-honor seat goes second; flip its stronghold to the back side, but only when that stronghold actually has a back face (single-faced strongholds are left front-up). On an honor tie, no seat is demoted and nothing is flipped. Return the seat that goes second, or None on a tie.

Parameters:
stateTableState

The table, already set up for both seats.

seatstuple of PlayerId

The two seated players to compare.