pokemon-showdown/sim
2021-07-11 18:58:51 -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 Gen IV: Fix multi-hit behaviour while asleep 2021-06-14 17:18:45 -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 Always have a 1000-turn limit 2021-07-03 15:22:25 -05:00
dex-abilities.ts Rename Let's Go! mod to 'gen7letsgo' 2021-07-06 23:07:51 -06:00
dex-conditions.ts Update to TypeScript 4.3 2021-05-26 14:16:54 -07:00
dex-data.ts Support importing teams 2021-06-09 22:08:31 -07:00
dex-formats.ts Fix build 2021-07-10 17:19:39 -07:00
dex-items.ts Rename Let's Go! mod to 'gen7letsgo' 2021-07-06 23:07:51 -06:00
dex-moves.ts Update to TypeScript 4.3 2021-05-26 14:16:54 -07:00
dex-species.ts Rename Let's Go! mod to 'gen7letsgo' 2021-07-06 23:07:51 -06:00
DEX.md Move packed team docs out of PROTOCOL.md 2021-06-10 15:04:25 -07:00
dex.ts Fix bugs with Sucrase build process 2021-07-11 11:54:22 -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 July 2021 OMotM, LCotM, and RoA Spotlight 2021-07-01 10:47:55 -06:00
index.ts Further improve documentation 2021-06-10 09:17:58 -07:00
NONSTANDARD.md Move packed team docs out of PROTOCOL.md 2021-06-10 15:04:25 -07:00
pokemon.ts Ignore 10000 speed upper limit in Custom Game (#8392) 2021-07-11 18:58:51 -07:00
prng.ts Further improve documentation 2021-06-10 09:17:58 -07:00
README.md Further improve documentation 2021-06-10 09:17:58 -07:00
side.ts Support value rules (#8267) 2021-05-06 01:16:16 -07:00
SIM-PROTOCOL.md Further improve documentation 2021-06-10 09:17:58 -07:00
SIMULATOR.md Further improve documentation 2021-06-10 09:17:58 -07:00
state.ts Further improve documentation 2021-06-10 09:17:58 -07:00
team-validator.ts Rename Let's Go! mod to 'gen7letsgo' 2021-07-06 23:07:51 -06:00
TEAMS.md Move packed team docs out of PROTOCOL.md 2021-06-10 15:04:25 -07:00
teams.ts Further improve documentation 2021-06-10 09:17:58 -07:00
tsconfig.json Use ts-node instead of Sucrase (#8369) 2021-07-09 19:59:22 -07:00

Node.js package

Simulating battles

See: sim/SIMULATOR.md

Also available as a command-line API!

Validating, generating, and converting teams

See: sim/TEAMS.md

Also available as a command-line API!

Getting Pokédex information

See: 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