6ad51148f4
- bullets: seq[InFlightBullet] → array[4, InFlightBullet] + bulletCount (eliminates cross-thread heap realloc under ORC) - hasFired: edge-triggered (cleared after state build, not level-triggered) - round_counter parseInt: wrapped for empty/torn file → 0 - Static SVG + intent buffers to kill cross-thread heap realloc - Tick-local alive/bulletData also fixed arrays Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 lines
290 B
Bash
Executable File
8 lines
290 B
Bash
Executable File
#!/bin/sh
|
|
# PPO_Bot — PPO-trained RL bot (compiled native binary)
|
|
# OPENBLAS_NUM_THREADS=1: prevent OpenBLAS from spawning worker threads,
|
|
# which deadlock when called from within a multi-threaded Nim bot process.
|
|
export OPENBLAS_NUM_THREADS=1
|
|
cd -- "$(dirname -- "$0")"
|
|
exec "./PPO_Bot"
|