Pokémon battle simulator.
Go to file
Guangcong Luo 0491bfe10f Refactor subroom code
This introduces a new function, `setParent`, to handle the details
of setting up subrooms.

`roomid`, `parent`, and `subRooms` are now read-only, so they can't
be accidentally be set directly rather than through their setters
(`rename`, `setParent`, and `clearSubRooms`).

I don't think setters should be used for this, because I think it's
important to be clear that `rename` and `setParent` will change a lot
of other state and induce network activity.
2020-11-23 10:57:39 +00:00
.github/workflows Fix modlog tests on Windows (#7187) 2020-08-10 09:37:08 -07:00
.vscode Fix VS Code TypeScript setting 2020-09-29 15:56:10 -07:00
config Update BST after changing stats to allow Scalemons Mod mashup (#7698) 2020-11-23 01:46:45 -07:00
data Gen III-IV: Air Lock / Cloud Nine have no message 2020-11-22 17:38:23 -05:00
databases/schemas Modlog: Avoid optional properties in ModlogEntry (#7613) 2020-11-01 14:07:01 -08:00
lib Properly type Promises (#7712) 2020-11-19 23:19:42 -08:00
logs Record statistics for help tickets (#5574) 2019-09-17 13:29:16 -04:00
server Refactor subroom code 2020-11-23 10:57:39 +00:00
sim Gen 1: Fix Counter vs Hyper Beam (#7707) 2020-11-18 05:55:18 -08:00
test Fix After You test description 2020-11-21 23:26:36 +04:00
tools Modlog converter: Fix crash without SQLite library 2020-11-07 13:40:07 -08:00
translations Add Dutch translation for help tickets 2020-11-21 12:58:31 -08:00
.editorconfig Editorconfig: Increase indent size to 3 spaces (#4090) 2017-10-29 13:21:55 -05:00
.eslintrc-no-types.json Modlog: Support logging to a SQLite database (#7513) 2020-10-30 19:27:25 -04: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 Modlog: Support logging to a SQLite database (#7513) 2020-10-30 19:27:25 -04:00
.mocharc.json Update Mocha dependency version 2020-10-09 22:33:17 -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 Support disabling modlogs (#7619) 2020-11-02 22:59:31 -05:00
CODEOWNERS Allow the Help auto-response filter to be used in all rooms (#7645) 2020-11-08 20:16:25 -08:00
COMMANDLINE.md Improve documentation 2020-10-29 15:14:29 +00:00
CONTRIBUTING.md Improve and number design standards 2020-10-31 12:36:11 -07:00
LICENSE Update date in LICENSE to 2020 2020-03-18 09:38:46 -07:00
old-simulator-doc.txt Change weight units to hectograms (#5765) 2019-10-03 14:00:16 +10:00
package.json Update TypeScript dependency version 2020-11-20 07:53:06 +00:00
pokemon-showdown Fix Streams bug 2020-11-01 02:06:24 +00:00
Procfile Update Procfile (#4937) 2018-10-29 23:27:24 -05:00
PROTOCOL.md Improve documentation 2020-10-29 15:14:29 +00:00
README.md Improve documentation 2020-10-29 15:14:29 +00:00
simulator-doc.txt Fix bugs with secondary/ability order 2020-02-08 08:07:39 -08:00
tsconfig.json Translations: Convert JSON to TypeScript (#7493) 2020-10-09 12:03:44 -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
  • [The Immortal] - Development

Contributors