The client for Pokémon Showdown
Go to file
2018-12-04 17:16:49 +04:00
build-tools Let's Go: Remove UUBL classification 2018-12-04 17:16:49 +04:00
config
data Add Mind Blown recoil message (#1188) 2018-12-03 19:37:58 -06:00
desktop
fx Add a logo for groupchats by LifeisDANK (#1185) 2018-11-29 20:17:45 -06:00
graphics-src
js Correct rounding error in Lets Go stat calculation (#1180) 2018-11-26 17:34:25 -06:00
lib Improve action.php 2018-11-14 21:49:40 -05:00
src Ability activations have no default message (#1187) 2018-12-02 15:21:06 -06:00
style Add line breaks to spacers 2018-11-23 01:40:15 -06:00
swf
test Fix issues identified by LGTM 2018-11-15 18:52:53 -06:00
.babelrc
.editorconfig
.eslintignore Add data/text.js to eslint 2018-11-22 21:51:27 -06:00
.eslintrc.js Split battle-log.ts off from battle-dex.ts 2018-11-15 18:52:53 -06:00
.gitignore Implement new battle-text-parser 2018-11-15 18:52:53 -06:00
.htaccess
.npmrc
.travis.yml
action.php
ads.txt
apple-touch-icon.png
build
cache.manifest
composer.json
composer.lock
CONTRIBUTING.md
crossdomain.php
crossprotocol.html
customcss.php
favicon-16.png
favicon-32.png
favicon-48.png
favicon-128.png
favicon-192.png
favicon-256.png
favicon-notify.ico
favicon.ico
index.template.html
ladder.php
LICENSE
manifest.json
news-embed.php
package.json Add build scripts 2018-11-29 18:40:31 -06:00
pokemonshowdown.png
pokemonshowdown.psd
pokemonshowdownbeta.png
pokemonshowdownbeta@2x.png
README.md
recoverteams.html
robots.txt
showdown.crx
showdown.webapp
testclient.html Fix testclient.html for latest Chrome 2018-11-20 01:53:04 -06:00
tsconfig.json
tslint.json Add tslint 2018-11-15 23:01:03 -06: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.

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.