Ported "the floor is lava" (TFIL) movement into DevControlBot as a self-contained module, DevControlBot/modules/tfil.nim. It has no runtime dependency on common_libs/: the port is a standalone implementation, parity-verified against the common_libs original over 2000 differential ticks with zero divergences. Do not re-introduce the dependency and do not edit the original to match. Debug graphics (per-tile lava heat, tracked bullets and their danger corridors, enemy core/aura, reachable hull, committed tile) are OFF by default and compile-time gated behind -d:tfilDebug; see README.md for the plain `nim c` invocation, since nimble runBot does not forward compile flags. Wired into DevControlBot.nim: movement computed between commandRadar() and go(), fire-event tracking wired up, staleness handling for scanned enemies, and body colour set to BLACK at init (movement and radar both claim colour now). Also adds tools/test_runner, a shared battle-test runner usable by any garage, with an Observer adversary for quick floor checks.
4 lines
98 B
Bash
Executable File
4 lines
98 B
Bash
Executable File
#!/bin/sh
|
|
cd "$(dirname "$0")"
|
|
exec ./out/Observer 2>> "${OBS_OUT_DIR:-/tmp}/observer_stderr.log"
|