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_pathto the human (P1) andopponent_deck_pathto the AI-reserved opponent (P2).Resolves the cards against the database, so it needs a reachable one.
opponent_deck_pathdefaults to the human’s deck, a mirror match. Returns the table and the human seat.