[Phase 5.3] Heuristic TCG AI & CodeMaster Boss Decision Engine #37

Open
opened 2026-11-17 08:14:26 +00:00 by john4064 · 0 comments
Owner

Goal

Build a deterministic pure-Rust heuristic AI driver on top of generate_legal_intents capable of playing competent full matches and powering CodeMaster bosses.

Metadata

  • Phase / Step: Phase 5.3
  • Depends On: #25, #26
  • Unlocks: #18, #38
  • Target Crates / Paths: crates/chaotic_core/src/ai_bot.rs
  • Line Budget Plan: Production .rs <= 400 lines, test .rs <= 600 lines, mod.rs < 80 lines (AGENTS.md Section 2.3)

Acceptance Criteria

  • Evaluate board positioning, elemental initiative, Attack Build Point tempo, and Burst stack lethal threats via generate_legal_intents.
  • Only inspect information visible through project_match_state_for_player (no AI cheating on opponent face-down Battlegear or hands).
  • Achieve >70% win rate in chaotic_core tests against the random-legal baseline bot.
## Goal Build a deterministic pure-Rust heuristic AI driver on top of `generate_legal_intents` capable of playing competent full matches and powering CodeMaster bosses. ## Metadata - **Phase / Step:** Phase 5.3 - **Depends On:** #25, #26 - **Unlocks:** #18, #38 - **Target Crates / Paths:** `crates/chaotic_core/src/ai_bot.rs` - **Line Budget Plan:** Production `.rs` <= 400 lines, test `.rs` <= 600 lines, `mod.rs` < 80 lines (`AGENTS.md` Section 2.3) ## Acceptance Criteria - [ ] Evaluate board positioning, elemental initiative, Attack Build Point tempo, and Burst stack lethal threats via `generate_legal_intents`. - [ ] Only inspect information visible through `project_match_state_for_player` (no AI cheating on opponent face-down Battlegear or hands). - [ ] Achieve >70% win rate in `chaotic_core` tests against the random-legal baseline bot.
Sign in to join this conversation.
No description provided.