Pokémon battle simulator.
Go to file
Guangcong Luo 6e090e9989 Rewrite Teams.export
The old export function was written for The Cafe's `/foodfight`
command, and is only moderately particularly faithful to PS's export
format.

This new function is ported from the client's
`src/panel-teamdropdown.tsx`, our most modern implementation.

(We really should not have three team libraries... This work is an
attempt to one day unify them.)

This involves replacing PS's `fastUnpack` with a new implementation
of the regular `unpack` function. At this point, I think separating
`fastUnpack` and `unpack` was premature optimization.
2021-04-08 02:54:33 -07:00
.github/workflows Fix modlog tests on Windows (#7187) 2020-08-10 09:37:08 -07:00
.vscode Turn off Format on Save in VS Code (#7807) 2020-12-24 09:44:24 -08:00
config Implement Dex.moves.all() etc 2021-04-08 02:54:33 -07:00
data Implement Dex.moves.all() etc 2021-04-08 02:54:33 -07:00
databases/schemas Modlog: Avoid optional properties in ModlogEntry (#7613) 2020-11-01 14:07:01 -08:00
lib Rewrite Teams.export 2021-04-08 02:54:33 -07:00
logs Record statistics for help tickets (#5574) 2019-09-17 13:29:16 -04:00
server Rewrite Teams.export 2021-04-08 02:54:33 -07:00
sim Rewrite Teams.export 2021-04-08 02:54:33 -07:00
test Rewrite Teams.export 2021-04-08 02:54:33 -07:00
tools Add Dex.stats 2021-04-08 02:54:32 -07:00
translations Fix translation for /faq autoconfirmed (#8183) 2021-04-06 16:07:24 -07:00
.editorconfig Editorconfig: Increase indent size to 3 spaces (#4090) 2017-10-29 13:21:55 -05:00
.eslintrc-no-types.json Fix QueryProcessManager type signatures 2021-01-30 11:35:35 -08:00
.eslintrc.json Default to type-aware linting (#7538) 2020-10-19 02:52:33 -07:00
.gitattributes Normalize file endings when committing. 2015-12-31 19:10:53 +01:00
.gitignore Enable incremental compilation in tsc (#7802) 2020-12-13 23:11:38 -08:00
.mocharc.json Random Battles: Add basic unit test framework 2021-03-18 18:17:25 -07:00
.npmignore Publish 0.11.3 to npm 2020-10-21 17:24:58 +01:00
.npmrc Disable package-lock.json 2018-01-12 22:19:05 -06:00
build Clean mods/ and chat-plugins/ when building 2021-04-07 01:33:10 -07:00
CODEOWNERS CODEOWNERS: Add me to formats 2021-03-19 18:01:05 -04:00
COMMANDLINE.md Improve documentation 2020-10-29 15:14:29 +00:00
CONTRIBUTING.md CONTRIBUTING: Improve 2020-12-26 22:04:14 -08:00
LICENSE License: Update year to 2021 (#7920) 2021-01-17 16:12:31 +04:00
old-simulator-doc.txt Change weight units to hectograms (#5765) 2019-10-03 14:00:16 +10:00
package.json Release 0.11.5 2021-03-29 11:00:52 -07:00
pokemon-showdown Rewrite Teams.export 2021-04-08 02:54:33 -07:00
Procfile Update Procfile (#4937) 2018-10-29 23:27:24 -05:00
PROTOCOL.md Rewrite Teams.export 2021-04-08 02:54:33 -07:00
README.md Credits: The Immortal is no longer staff 2021-02-10 12:35:25 -08:00
simulator-doc.txt Fix bugs with secondary/ability order 2020-02-08 08:07:39 -08:00
tsconfig.json Make tsc warn about unreachable code (#8122) 2021-03-16 18:29:53 -07:00

Pokémon Showdown

Navigation: Website | Server repository | Client repository | Dex repository

Build Status Dependency Status devDependency Status Total Alerts

Introduction

Pokémon Showdown is many things:

Pokémon Showdown simulates singles, doubles and triples battles in all the games out so far (Generations 1 through 8).

  • PROTOCOL.md - The protocol used by the server to communicate with clients.

  • SIM-PROTOCOL.md - The protocol used for battles and battle messages.

  • CONTRIBUTING.md - Useful code standards to understand if you want to send pull requests to PS (not necessary if you're just using the code and not planning to contribute back).

  • Bot FAQ - An FAQ compiled by Kaiepi [Kaiepi] regarding making Pokemon Showdown bots - mainly chatbots and battle bots.

Community

PS has a built-in chat service. Join our main server to talk to us!

You can also visit the Pokémon Showdown forums for discussion and help.

If you'd like to contribute to programming and don't know where to start, feel free to check out Ideas for New Developers.

License

Pokémon Showdown's server is distributed under the terms of the MIT License.

Credits

Owner

  • Guangcong Luo [Zarel] - Development, Design, Sysadmin

Staff

  • Andrew Werner [HoeenHero] - Development
  • Annika L. [Annika] - Development
  • Chris Monsanto [chaos] - Development, Sysadmin
  • Leonard Craft III - Research (game mechanics)
  • Mathieu Dias-Martins [Marty-D] - Research (game mechanics), Development

Contributors