The client for Pokémon Showdown
Go to file
2019-03-26 15:09:13 -05:00
build-tools Don't display illegal HMs as legal in Teambuilder (#1253) 2019-03-19 10:45:14 +09:00
config Fix build tools 2018-05-17 11:52:32 -05:00
data Fix missing message for Queenly Majesty blocking a move (#1240) 2019-02-26 19:36:20 -06:00
desktop Update nwjs API for later version (#1246) 2019-03-09 09:27:44 -06:00
fx Add SPL mode backgrounds 2019-02-20 16:39:34 -05:00
graphics-src
js Battle UI: Refactor building of tooltip arguments string 2019-03-26 15:09:13 -05:00
lib Allow CORS actions with a POSTed sid 2019-02-27 05:16:17 -05:00
src Support room search in rooms panel 2019-03-22 18:51:44 +09:00
style Improve readmore box appearance 2019-03-22 18:51:44 +09:00
swf
test Implement EV guesser test 2019-03-06 13:49:17 -06:00
.babelrc Support login handshake 2019-03-17 19:02:53 +09:00
.editorconfig Editorconfig: Increase indent size to 3 spaces (#1043) 2017-11-05 16:42:36 -08:00
.eslintignore Stub teambuilder implementation 2019-03-17 19:02:53 +09:00
.eslintrc.js Move EV suggester to battle-tooltips.ts 2019-03-04 13:20:00 -06:00
.gitignore Support serving the Preact client 2019-03-17 06:21:49 -04:00
.htaccess Support serving the Preact client 2019-03-17 06:21:49 -04:00
.npmrc Disable package-lock.json 2018-05-14 17:14:27 -05:00
.travis.yml Bump Node version requirement to 10 2018-10-16 03:52:16 -05:00
action.php Allow CORS actions with a POSTed sid 2019-02-27 05:16:17 -05:00
ads.txt Add ads.txt 2017-11-14 19:26:16 -05:00
apple-touch-icon.png
build Bump Node version requirement to 10 2018-10-16 03:52:16 -05:00
cache.manifest Add homescreen app manifest for Android Chrome 2017-10-29 21:16:05 -04:00
composer.json Add Sentry to composer.json 2019-02-27 05:16:17 -05:00
CONTRIBUTING.md Stub chatroom support 2019-03-17 19:02:53 +09:00
crossdomain.php Improve HTTPS support for side servers 2017-11-21 07:50:32 -05:00
crossprotocol.html
customcss.php Shorten customcss timeout time 2017-06-21 23:13:16 -04:00
favicon-16.png
favicon-32.png
favicon-48.png
favicon-128.png
favicon-192.png Add 192x192 icon 2017-11-21 07:50:32 -05:00
favicon-256.png
favicon-notify.ico
favicon.ico
index.template.html Massively improve tooltips 2019-02-18 22:38:13 -06:00
ladder.php Remove COIL 2018-02-16 04:55:01 -05:00
LICENSE
manifest.json Add 192x192 icon 2017-11-21 07:50:32 -05:00
news-embed.php
package.json Add support for chat userlists and usercards 2019-03-17 19:02:53 +09:00
pokemonshowdown.png
pokemonshowdown.psd
pokemonshowdownbeta.png
pokemonshowdownbeta@2x.png
preactalpha.template.html Implement Rooms room 2019-03-21 20:16:01 +09:00
README.md Update README testclient instructions (#1249) 2019-03-12 13:11:50 -07:00
recoverteams.html Default to HTTPS 2017-11-21 07:50:32 -05:00
robots.txt
showdown.crx
showdown.webapp Default to HTTPS 2017-11-21 07:50:32 -05:00
testclient-beta.html Implement Rooms room 2019-03-21 20:16:01 +09:00
testclient.html Implement Rooms room 2019-03-21 20:16:01 +09:00
tsconfig.json Massively improve tooltips 2019-02-18 22:38:13 -06:00
tslint.json Implement Rooms room 2019-03-21 20:16:01 +09:00

Pokémon Showdown Client

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

Introduction

This is a repository for most of the client code for Pokémon Showdown.

This is what runs play.pokemonshowdown.com.

WARNING: You probably want the Pokémon Showdown server, if you're setting up a server.

Testing

Client testing now requires a build step! Install the latest Node.js (we require v10 or later), and run node build (on Windows) or ./build (on other OSes) to build.

You can make and test client changes simply by building after each change, and opening testclient.html. This will allow you to test changes to the client without setting up your own login server.

You can connect to an arbitrary server by navigating to testclient.html?~~host:port. For example, to connect to a server running locally on port 8000, you can navigate to testclient.html?~~localhost:8000.

NOTE: Certain browsers will convert '?' to '%3F' when reading files off of the local filesystem. As a workaround, try using a different browser or serving the files locally first (ie. run npx http-server from the directory this README is in, then navigate in your browser to http://localhost:8080/testclient.html?~~localhost:8000).

The following things will fail in testclient.html:

  • Registering
  • Changing name to a registered name other than the one you are currently logged in with (however, changing to an unregistered name will work, and you can even change back to your original registered name afterward)

Everything else can be tested, though.

Warning

This repository is not "batteries included". It does NOT include instructions to run a full Pokémon Showdown login server, and we will not provide them. Please do not ask for help on this; you will be turned away.

If you make a mistake hosting a login server, your users' passwords can get stolen, so we do not want anyone to host a login server unless they can figure out how to do it without help.

It also doesn't include several resource files (namely, the /audio/ and /sprites/ directories) for size reasons.

On the other hand, as long as you don't want to run your own login server, this repository contains everything you need to test changes to the client; just see the "Testing" section above.

License

Pokémon Showdown's client is distributed under the terms of the AGPLv3.

WARNING: This is NOT the same license as Pokémon Showdown's server.