How sharanmankala/collision-club works
Collision Club is a browser-based rock-paper-scissors arena game: players start and observe a match while three AI-controlled teams move, collect power-ups, and compete to be the last standing. The README also identifies a training mode; the sampled training runner uses the learning module to train and evaluate policies. Source excerpts do not show the browser-side call flow, so those runtime relationships are documented only at the level the README supports.
Main entry points: index.html Game Page · agents.js Team Agents · train.mjs Training Runner · app.js Game Interface
Components 8
Arena Game
- Game Page
dist/index.html - Game Interface
dist/app.js - Team Agents
dist/agents.js - Arena Physics
dist/physics.js
Policy Training
- Training Worker
dist/training-worker.js - Learning Engine
dist/learning.js - Training Runner
scripts/train.mjs
Other components
- Player
Connections 4
- Player → Game Page: opens
README.md - Game Page → Game Interface: presents
README.md - Team Agents → Arena Physics: compete in
README.md - Training Runner → Learning Engine: trains and evaluates
scripts/train.mjs