Dealing with Siege Tanks, Improved Logging & Smarter Combat

Note: The audio from Mindeme and Dogtato gets cut out for the first bit but it does get fixed later on

@mindme , @chad and I dig into one of the toughest AI challenges β€” handling siege tanks intelligently β€” while exploring how detailed logs, unit wrappers, and combat simulators can lead to sharper battlefield decisions. From 3 000-line debug logs to dynamic blink logic, this Halloween Postbots turns deep code talk into strategic gold.

Key Takeaways:

  • :bar_chart: Detailed logs matter: record supply, resource states, and unit counters every 30 s to track what your bot β€œbelieves.”
  • :puzzle_piece: Use modular managers (economy, defense, commander) to isolate logic and simplify debugging.
  • :bomb: Siege-tank problem: DPS-based simulators overvalue burst damage β€” track cooldowns and range for realism.
  • :high_voltage: Blink micro: tag tanks as is_dive_target so stalkers blink directly onto them when safe, reducing splash risk.
  • :brain: Smarter combat sims: incorporate range, cooldown, and position to avoid false confidence or over-retreats.
  • :robot: LLMs as co-engineers: models like Gemini or Claude can refactor messy logic or trace bug patterns efficiently.
  • :brick: Unified order management: resolve conflicting commands in one place before issuing them to units.