feat(ModularBot): 6 guns, pattern matcher, melee modules, adversarial bots
- New guns: guess-factor (GF histogram), pattern-matcher (movement tape replay) - New modules: minimum-risk melee movement, spinning melee radar - New test bots: PatternMover, RandomMover, WaveSurfer - Fixed: FeedbackEvent now carries actualX/actualY for proper GF learning - Fixed: TM gun warmup gating + directional residuals - Fixed: circular gun integrated formula + multi-bin omega cache - Fixed: oscillator wall-bounce lockout - Fixed: phantom meteor perpendicular body orientation - 6/6 battle wins across all enemy types
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
## Run ModularBot vs OscillatorBot and stream ALL bot output including debug lines
|
||||
import std/[osproc, os, strutils, streams]
|
||||
import common_libs/test_framework/server_manager
|
||||
import common_libs/test_framework/bot_compiler
|
||||
import common_libs/test_framework/runner_process
|
||||
|
||||
proc runBattleWithDebug() =
|
||||
ensureServer()
|
||||
let botDirs = @[
|
||||
"/home/davide/Projects/SirRoboGarage/ModularBot_garage",
|
||||
"/home/davide/Projects/SirRoboGarage/common_libs/test_framework/adversaries/OscillatorBot"
|
||||
]
|
||||
discard compileBots(botDirs)
|
||||
|
||||
echo "Starting battle with debug output..."
|
||||
echo ""
|
||||
|
||||
try:
|
||||
let stdout = runBattleRunner(getServerUrl(), botDirs, 5, 120000, true)
|
||||
echo "=== Full Battle Output ==="
|
||||
echo stdout
|
||||
except:
|
||||
echo "Error: " & getCurrentExceptionMsg()
|
||||
|
||||
when isMainModule:
|
||||
runBattleWithDebug()
|
||||
Reference in New Issue
Block a user