yasuki_gui.session.build_state_from_deck#

build_state_from_deck(deck_path=PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/game-on-yasuki/checkouts/latest/src/yasuki_gui/assets/decks/spider_oni_control.yaml'), opponent_deck_path=None, p1_name='You', p2_name='Opponent')[source]#

Build a two-seat table from decklist files, dealing deck_path to the human (P1) and opponent_deck_path to the AI-reserved opponent (P2).

Resolves the cards against the database, so it needs a reachable one. opponent_deck_path defaults to the human’s deck, a mirror match. Returns the table and the human seat.