CI / build (push) Successful in 57s
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>
2.5 KiB
2.5 KiB
Changelog
One section per release; the section is the release's body. Each names the engine release it was built and
tested against (bots.json's engine).
v0.2.0 — 2026-10-19
The decision seam. Engine v1.4.1. No change to how the bots play: a seat with no decision maker is answered by
its executor exactly as before (the --seed 7 100-duel report equals v0.1.0's apart from its clocks).
YGOLegacy.Bots.Decisions:IDecisionMaker.Decide(DecisionRequest) -> Decision, asked at every prompt of every seat (GameBehavior.YGOL_Decide) before the seat's WindBot executor; null, an exception or an illegal answer hands the prompt to the executor. Requests (kind, legal options, what the seat sees as aDuelView) and answers (option indices) are plain JSON-friendly data.- A seat picks a maker with the WindBot token
Decisions=<name>, else getsBotHost.Decisions(default none);DecisionMakers.Registernames one. Built in:builtin(the executor),first(the first legal answer, the test brain) andrandom(a random legal answer), both from the request's JSON alone. - Every prompt with a choice is asked, including
MSG_SORT_CHAINand the "field first" card prompt (their built-in answers unchanged); only no-choice prompts are not. Seats with a maker log their counts per duel. BotArena --decisionsA/--decisionsB <name>.
v0.1.0 — 2026-10-19
The bots leave the Unity repo. Engine v1.4.1.
YGOLegacy.Bots.dll(.NET Standard 2.1, C# 9): the Unity repo's WindBot (Assets/Scripts/Windbot/**minusBotWrapper.cs), the YGOSharp files WindBot uses,Core/Bot/(SmartExecutor, BoardEvaluator, BattlePredictor, BrainRules, EffectSimulator, DuelStateBus, LocalDuelHost, LoopbackBotSeat, Lookahead, ArenaReport), the character model and registry andBotRoster, as of Unitydev19c6158. No change to how the bots play.- What came from the game now comes through
BotHost:Log,Cards(the SQLite connection),Files(locale, the expansions'.cdb),DeckLimits(#ruleset→ caps) andBotConf(bot.conf).CharacterRegistrykeepsScan/Publish/LoadFromDisk; the game's UniTaskInit/Loadedstay in the game. BotArenaforlinux-x64andwin-x64, same options and report as the Unity repo'sTools/BotArena.--host localon both;--host serveron Windows only (on Linux the engine's server finds no cards).- Tests: 100 Smart-vs-Smart
AI_OldSchoolduels on Linux with 0 errors; the same--seedgives the same report.