The client for Pokémon Showdown
Go to file
2018-10-29 01:50:25 -04:00
build-tools Dex: Support multi-word article titles 2018-10-29 01:50:25 -04:00
config
data
desktop
fx
graphics-src
js Dex: Support multi-word article titles 2018-10-29 01:50:25 -04:00
lib Fix some bugs caught by LGTM 2018-09-05 16:48:27 -05:00
src Suppress LGTM warnings 2018-10-28 14:54:12 -04:00
style
swf
test Add mocha tests to npm test 2018-10-16 03:31:27 -05:00
.babelrc Add Preact dependency 2018-10-16 14:53:27 -05:00
.editorconfig
.eslintignore Add mocha tests to npm test 2018-10-16 03:31:27 -05:00
.eslintrc.js Dex: Support multi-word article titles 2018-10-29 01:50:25 -04:00
.gitignore Support headless client Battle (#1151) 2018-10-16 02:48:59 -05:00
.htaccess
.npmrc
.travis.yml Bump Node version requirement to 10 2018-10-16 03:52:16 -05:00
action.php
ads.txt
apple-touch-icon.png
build Bump Node version requirement to 10 2018-10-16 03:52:16 -05:00
cache.manifest
composer.json
composer.lock
CONTRIBUTING.md Update CONTRIBUTING.md for new polyfills 2018-10-14 22:05:10 -05:00
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 Remove jQuery-JSON dependency 2018-10-14 22:07:55 -05:00
ladder.php
LICENSE
manifest.json
news-embed.php
package.json Add TypeScript to npm test 2018-10-16 21:45:18 -05:00
pokemonshowdown.png
pokemonshowdown.psd
pokemonshowdownbeta.png
pokemonshowdownbeta@2x.png
README.md Bump Node version requirement to 10 2018-10-16 03:52:16 -05:00
recoverteams.html
robots.txt
showdown.crx
showdown.webapp
testclient.html Don't build graphics.js by default 2018-10-16 03:26:51 -05:00
tsconfig.json Add Preact dependency 2018-10-16 14:53:27 -05: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.