Watch the AI learn — live, in your browser
This release adds a Train tab to the viewer. It runs the project's real
tabular Q-learning self-play live on the client (ported to JS in
viz/web/livetrain.js from learn/train.py). Press ▶ Train and two agents
go from random to skilled in seconds:
- a mini-match of the current policy plays on the left, and
- a skill curve climbs in real time on the right — the seeker's sight-rate
against a random hider rises ~11% → ~70%, the hider's evasion ~90% → ~99%.
No GPU, no server, nothing scripted — it's the real learning algorithm
computing in the page. The RL core is DOM-free and covered by a Node
metric-climb gate (verified peak seeker see-rate ≈ 0.69).
Also
- Fixed: the Watch-tab HUD (control panel, transport bar, scores) no longer
bleeds through on non-Watch tabs. - About tab now describes the live learner; README & CHANGELOG updated.
Live demo: https://gefaa.github.io/hide-and-seek-2/#tab=train