This tiny host uses the same Rust/Wasm library without the arena or a game framework. The host supplies synthetic rewards; these observations are a teaching example, not combat evidence.
Patrolling currently earns the higher reward.
Loading Wasm…
Each observation calls choose → feedback → commit. The learner receives the action result; it never receives the rule or switch label. This page has no networking after its local files load.