Commit Graph
2 Commits
Author SHA1 Message Date
donnyandClaude Opus 5.5 3bbfe08ab1 feat(arena): BotArena for linux-x64 and win-x64 on the library
The shims go; ArenaHost implements BotHost (stderr log, Microsoft.Data.Sqlite read-only, locale, the
expansions' .cdb, bot.conf). EngineLibrary finds ygol-engine.dll / libygol-engine.so (env, the root's plugin
folder, a built player, next to the exe) for both hosts. Same options and report. --host server is refused off
Windows: on Linux the engine's server reads ./expansions and ./script, finds no cards, and every duel ends at
turn 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 18:19:14 -07:00
donny 6dbc9e78d8 import: the bot code from yugioh-legacy-unity dev at 19c6158197a0a8f0817dd0924bb9a6a987c2bfc5
Verbatim copies, new layout, no edits:

  Assets/Scripts/Windbot/** (minus BotWrapper.cs)       -> src/YGOLegacy.Bots/WindBot/
  Assets/Scripts/YGOSharp/YGOSharp.OCGWrapper.Enums/*   -> src/YGOLegacy.Bots/YGOSharp/YGOSharp.OCGWrapper.Enums/
  Assets/Scripts/YGOSharp/YGOSharp.OCGWrapper/{Card,NamedCard,NamedCardsManager,CardsManager}.cs
                                                        -> src/YGOLegacy.Bots/YGOSharp/YGOSharp.OCGWrapper/
  Assets/Scripts/YGOSharp/YGOSharp.Network/{BinaryClient,NetworkClient,YGOClient}.cs, Enums/*, Utils/BinaryExtensions.cs
                                                        -> src/YGOLegacy.Bots/YGOSharp/YGOSharp.Network/
  Assets/YGOLegacy/Scripts/Core/Bot/{SmartExecutor,BoardEvaluator,BattlePredictor,BrainRules,EffectSimulator,
    DuelStateBus,LocalDuelHost,LoopbackBotSeat,Lookahead,ArenaReport}.cs -> src/YGOLegacy.Bots/Bot/
  Assets/YGOLegacy/Scripts/Core/Identity/Characters/{Character,CharacterRegistry}.cs -> src/YGOLegacy.Bots/Characters/
  Assets/YGOLegacy/Scripts/Features/Solo/BotRoster.cs   -> src/YGOLegacy.Bots/Services/
  Tools/BotArena/**                                     -> src/BotArena/

Commit: 19c6158 (2026-10-19T15:29:54-07:00) duel: 8 prompt and bot fixes from duel bug hunt round 2
2026-10-19 18:08:01 -07:00