How yang1yangcz/bunny-vs-slime works
Bounce Duel is a browser-based, real-time 2D arena battle delivered as a standalone HTML file. The principal workflow is opening the page, which runs the battle simulation and presents its live arena, controls, and result. The README documents the combat abilities, damage rules, UI, audio, speech, and debug API; the template is identified as the source of the live page. The template itself was not sampled, so edges describe only documented relationships, not inspected implementation details.
Main entry points: live.template.html Real-time battle loop
Components 18
Battle simulation
- Real-time battle loop
bounce-duel/live.template.html - Rabbit combat
bounce-duel/live.template.html - Rabbit abilities
bounce-duel/live.template.html - Slime combat
bounce-duel/live.template.html - Slime abilities
bounce-duel/live.template.html - Damage and healing
bounce-duel/live.template.html - Battle state
bounce-duel/live.template.html
Arena and interface
- Arena rendering
bounce-duel/live.template.html - HUD and details
bounce-duel/live.template.html - Battle controls
bounce-duel/live.template.html - KO and MVP
bounce-duel/live.template.html
Browser runtime
- Live duel page
bounce-duel/live.template.html - Synthesized sound
bounce-duel/live.template.html - Voice announcements
bounce-duel/live.template.html - Simulation debug API
bounce-duel/live.template.html
Other components
- Player
- Web Audio API
- System speech voices
Connections 19
- Player → Live duel page: opens
README.md - Live duel page → Real-time battle loop: runs
README.md - Real-time battle loop → Rabbit combat: simulates
README.md - Real-time battle loop → Slime combat: simulates
README.md - Rabbit combat → Rabbit abilities: uses
README.md - Slime combat → Slime abilities: uses
README.md - Rabbit abilities → Damage and healing: deal damage
README.md - Slime abilities → Damage and healing: deal damage
README.md - Damage and healing → Battle state: updates
README.md - Real-time battle loop → Arena rendering: renders
README.md - Battle state → HUD and details: shows status
README.md - Battle controls → Real-time battle loop: resets battle
README.md - Battle state → KO and MVP: determines outcome
README.md - Real-time battle loop → Synthesized sound: plays effects
- Synthesized sound → Web Audio API: uses
README.md - Real-time battle loop → Voice announcements: announces results
- Voice announcements → System speech voices: uses
README.md - Player → Simulation debug API: inspects or advances
README.md - Simulation debug API → Real-time battle loop: advances
README.md