How crescentschaos/pokemon-champions-guide works
Pokémon Champions Guide is a static competitive-play resource: players browse reference data, inspect teams and builds, compare Pokémon, and calculate battle outcomes. The visible navigation establishes the main site’s links to its feature pages; sampled code shows the move dex loading move and Pokémon data and the calculator consulting battle move logic. Team analysis, opponent tools, and team-building are represented as distinct product capabilities, but their runtime wiring was not established by the excerpts.
Main entry points: main.js Site Shell · movedex.js Move Dex · app.js Damage Calculator · dex-shared.js Dex Shared UI
Components 23
Site Navigation
- Site Shell
js/main.js - Home
index.html
Pokémon Reference
- Pokédex
js/dex/pokedex.js - Move Dex
js/dex/movedex.js - Ability Dex
js/dex/abilitydex.js - Item Dex
js/dex/itemdex.js - Dex Shared UI
js/dex-shared.js - Pokémon Data
assets/pokemon.json - Move Data
assets/moves.json
Team Tools
- Team Builder
teambuilder/index.html - Build Library
builds/index.html - Build Strategy
js/build-narrative.js - Team Analysis
js/analysis.js - Team Compare
compare/app.js - Opponent Tools
js/opponent-analysis.js - Counter Tool
counter/index.html
Battle Analysis
- Damage Calculator
calc/app.js - Move Index
js/battle/move-index.js - Move Resolution
js/battle/move-power.js - Damage Engine
js/battle/damage-core.js - Field Effects
js/battle/field-effects.js - KO Chance
js/battle/ko-chance.js
Other components
- Player
Connections 14
- Player → Site Shell: opens
js/main.js - Site Shell → Home: links to
js/main.js - Site Shell → Team Builder: links to
js/main.js - Site Shell → Build Library: links to
js/main.js - Site Shell → Damage Calculator: links to
js/main.js - Site Shell → Team Compare: links to
js/main.js - Site Shell → Counter Tool: links to
js/main.js - Move Dex → Dex Shared UI: uses
js/dex/movedex.js - Pokédex → Dex Shared UI: uses
js/dex/pokedex.js - Move Dex → Move Data: fetches
js/dex/movedex.js - Move Dex → Pokémon Data: fetches
js/dex/movedex.js - Damage Calculator → Move Index: looks up moves
calc/app.js - Damage Calculator → Move Resolution: resolves move type
calc/app.js - Damage Engine → Move Index: looks up moves
js/battle/damage-core.js