Files
donnyandClaude Opus 5.5 c034354d12
CI / build (push) Successful in 57s
feat(decisions): host default, first brain, every choice through the seam; v0.2.0
BotHost.Decisions is the default decision maker for seats without a Decisions= token (builtin overrides it).
'first' answers from the request's JSON alone, sums and counters included. MSG_SORT_CHAIN, the field-first card
prompt and the effect prompt of an unknown card now ask the maker too (built-in answers unchanged); only
prompts with no choice are answered without asking, and seats with a maker log their counts per duel.

Tests: the built-in --seed 7 report equals the v0.1.0 release's (tests/fixture/expected, clocks aside); first vs
first, 100 duels: 15952 prompts asked, 0 handed back, 0 errors, unasked only 'chain: nothing to chain'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 18:38:00 -07:00
..

tests/fixture

game/ is the smallest game root the tests duel on: one deck (Data/Windbot/Decks/AI_OldSchool.ydk), its 17 cards in Data/locales/en-US/cards.cdb, their scripts and the system scripts in Data/script.zip, the loose Expansions/script/procedure.lua override, the en-US bot.conf, and one character that owns the deck (Data/Characters/fixture-oldschool, Smart brain).

Built by make-fixture.py from:

  • the Unity repo's Data/locales/en-US/{cards.cdb,bot.conf}, Data/script.zip and Data/Windbot/Decks/AI_OldSchool.ydk at dev 19c6158197a0a8f0817dd0924bb9a6a987c2bfc5;
  • Expansions/script/procedure.lua of the local v2 game copy (/mnt/nvme/yugioh-legacy-v2-local/game, never the live share).
python3 -I tests/fixture/make-fixture.py <dir with that Data/> <a game copy's Expansions/script> tests/fixture/game