MCPcopy Index your code
hub / github.com/pagefaultgames/pokerogue

github.com/pagefaultgames/pokerogue @v1.12.0.4 sqlite

repository ↗ · DeepWiki ↗ · release v1.12.0.4 ↗
9,273 symbols 38,515 edges 1,201 files 1,909 documented · 21%
README

PokéRogue

Discord Static Badge Test Coverage Endpoint Badge \ Docs Coverage Static Badge Biome Linting Static Badge GNU AGPLv3 License Static Badge

PokéRogue is a browser based Pokémon fangame heavily inspired by the roguelite genre. Battle endlessly while gathering stacking items, exploring many different biomes, fighting trainers, bosses, and more!

Contributing

See CONTRIBUTING.md, this includes instructions on how to set up the game locally.

📝 Credits

If this project contains assets you have produced and you do not see your name, please reach out, either here on GitHub or via Discord.

Thank you to all the wonderful people that have contributed to the PokéRogue project! You can find the credits here.

Licensing

This repository seeks to be REUSE compliant: copyright and/or licensing information for each file is stored either in the file itself or in an associated REUSE.toml file.

The full licensing information for each file can be found by utilizing REUSE's tooling, such as via reuse spdx. \ An abbreviated summary of said information is as follows: - All source code belonging to the project, unless otherwise noted, is licensed under AGPL-v3.0-only. - All forms of documentation (both Markdown files[^1] and any comments explicitly documenting source code) are licensed under CC-BY-NC-SA-4.0. - Auto-generated files produced by external tools or files of insignificant originality are not copyrighted and are licensed under CC0-1.0. - To the extent that the assets we provide are licensable and applicable, they are licensed under CC-BY-NC-SA-4.0 unless otherwise noted. Exceptions can be found in associated REUSE.toml files. - ⚠️ Files in assets/ that are not explicitly licensed via REUSE.toml files should be considered to have no licensing / copyright information.

[^1]: Including this README

Extension points exported contracts — how you extend this code

HasPokemon (Interface)
Interface representing an object associated with a specific Pokemon [5 implementers]
src/utils/speed-order.ts
MockGameObject (Interface)
(no doc) [12 implementers]
test/mocks/mock-game-object.ts
InfoToggle (Interface)
(no doc) [8 implementers]
src/battle-scene.ts
EncounterRequirement (Interface)
(no doc) [25 implementers]
src/data/mystery-encounters/mystery-encounter-requirements.ts
GeneratedPersistentModifierType (Interface)
(no doc) [17 implementers]
src/modifier/modifier-type.ts
DynamicPhase (Interface)
(no doc) [5 implementers]
src/@types/phase-types.ts
MockPokemonParams (Interface)
* Parameters for code createTestablePokemon
test/tests/ai/ai-moveset-gen.test.ts
ExtraAssertions (Interface)
* Interface containing all additional Vitest test matchers. * @internal
test/@types/vitest.d.ts

Core symbols most depended-on inside this repo

startBattle
called by 1584
test/helpers/daily-mode-helper.ts
attr
called by 1429
src/data/abilities/ability.ts
select
called by 1414
test/helpers/move-helper.ts
to
called by 1305
test/framework/phase-interceptor.ts
add
called by 1043
src/modifier/modifier.ts
setVisible
called by 1028
src/ui/containers/dropdown.ts
getPlayerPokemon
called by 984
test/helpers/field-helper.ts
use
called by 704
test/helpers/move-helper.ts

Shape

Method 5,094
Class 2,222
Function 1,499
Interface 341
Enum 117

Languages

TypeScript100%
Python1%

Modules by API surface

src/data/abilities/ab-attrs.ts990 symbols
src/data/moves/move.ts971 symbols
src/modifier/modifier.ts542 symbols
src/data/battler-tags.ts477 symbols
src/field/pokemon.ts259 symbols
src/modifier/modifier-type.ts235 symbols
src/data/arena-tag.ts212 symbols
src/@types/typed-arrays.ts166 symbols
src/data/mystery-encounters/mystery-encounter-requirements.ts144 symbols
src/data/challenge.ts131 symbols
src/battle-scene.ts120 symbols
src/ui/handlers/party-ui-handler.ts82 symbols

Dependencies from manifests, versioned

@biomejs/biome2.5.0 · 1×
@commander-js/extra-typings15.0.0 · 1×
@inquirer/prompts8.5.2 · 1×
@ls-lint/ls-lint2.3.1 · 1×
@material/material-color-utilities0.4.0 · 1×
@types/crypto-js4.2.2 · 1×
@types/jsdom28.0.3 · 1×
@types/node24.13.2 · 1×
@vitest/coverage-v84.1.9 · 1×
@vitest/expect4.1.9 · 1×
@vitest/utils4.1.9 · 1×
ajv8.20.0 · 1×

For agents

$ claude mcp add pokerogue \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact