pokemon-showdown/sim
2021-06-09 19:19:43 -07:00
..
examples Update Dex API (#8181) 2021-04-08 03:00:37 -07:00
tools Fix crash in simulator runner 2021-04-11 23:31:58 -07:00
battle-actions.ts Fix Future Sight Life Orb interactions (#8357) 2021-06-08 11:48:10 -04:00
battle-queue.ts Fix bug in mega-evo speed tie code 2021-04-29 02:33:49 -07:00
battle-stream.ts Update Dex API (#8181) 2021-04-08 03:00:37 -07:00
battle.ts Support building TS declarations 2021-06-09 17:51:49 -05:00
dex-abilities.ts Update to TypeScript 4.3 2021-05-26 14:16:54 -07:00
dex-conditions.ts Update to TypeScript 4.3 2021-05-26 14:16:54 -07:00
dex-data.ts Refactor Dex types 2021-04-08 07:08:56 -07:00
dex-formats.ts Update to TypeScript 4.3 2021-05-26 14:16:54 -07:00
dex-items.ts Update to TypeScript 4.3 2021-05-26 14:16:54 -07:00
dex-moves.ts Update to TypeScript 4.3 2021-05-26 14:16:54 -07:00
dex-species.ts Update to TypeScript 4.3 2021-05-26 14:16:54 -07:00
DEX.md Fix documentation 2021-06-09 19:19:43 -07:00
dex.ts Fix max-len for long regexes 2021-05-23 20:48:31 -07:00
field.ts Support per-pokemon Residual handlers in Side/Field conditions (#8222) 2021-04-25 10:55:54 -07:00
global-types.ts Add new Pet Mod of the Season 2021-04-13 20:55:47 -06:00
index.ts Export lib/ from sim/ 2021-06-09 16:16:05 -05:00
NONSTANDARD.md Document changes and Dex 2021-06-09 17:51:49 -05:00
pokemon.ts Gen I-II: Cap initial max PP at 61 (#8309) 2021-05-15 21:42:25 -07:00
prng.ts Fix deterministic speed ties 2021-04-10 09:41:22 -07:00
README.md Document changes and Dex 2021-06-09 17:51:49 -05:00
side.ts Support value rules (#8267) 2021-05-06 01:16:16 -07:00
SIM-PROTOCOL.md Implement free-for-all 2021-04-01 04:44:16 -07:00
SIMULATOR.md Document changes and Dex 2021-06-09 17:51:49 -05:00
state.ts Rename and fix maxTeamSize (#8266) 2021-05-04 00:31:05 -07:00
team-validator.ts Rules: Split "EV Limit" out from "Obtainable Misc" 2021-05-23 15:14:00 -07:00
TEAMS.md Fix documentation 2021-06-09 19:19:43 -07:00
teams.ts Update Dex API (#8181) 2021-04-08 03:00:37 -07:00
tsconfig.json Support building TS declarations 2021-06-09 17:51:49 -05:00

Node.js package

Simulating battles

See: https://github.com/smogon/pokemon-showdown/blob/master/sim/SIMULATOR.md

Also available as a command-line API!

Validating and converting teams

See: https://github.com/smogon/pokemon-showdown/blob/master/sim/TEAMS.md

Also available as a command-line API!

Getting Pokédex information

See: https://github.com/smogon/pokemon-showdown/blob/master/sim/DEX.md

Undocumented APIs

Pokémon Showdown's Node.js package has TypeScript definitions for everything it exports, including a lot of undocumented APIs.

Please be aware that any undocumented API is unstable and should not be relied upon not to change. We do not follow semver for undocumented APIs. If you really want to use an undocumented API, remember to pin the exact PS version in your dependencies. You probably also want to follow the API update channel in the Discord server: https://psim.us/devdiscord