The client for Pokémon Showdown
Go to file
2013-04-15 18:00:32 -07:00
backup
data Various bugfixes to new search library 2013-04-15 18:00:32 -07:00
fx
githooks
js Various bugfixes to new search library 2013-04-15 18:00:32 -07:00
lib More thorough replay upload validation 2013-04-15 17:48:22 -06:00
style Fix to how large overlays scroll 2013-04-13 17:37:45 -07:00
swf
.gitignore
.htaccess Redirect *.psim.us/sprites to play.pokemonshowdown.com 2013-04-14 09:05:06 +04:00
action.php
cache.manifest
crossdomain.php Eliminate almost all PHP from index.php 2013-04-15 06:57:18 -06:00
customcss.php Load CSS from filesystem if curl doesn't work 2013-04-15 06:08:11 -07:00
favicon-16.png
favicon-32.png
favicon-48.png
favicon-128.png
favicon-notify.gif
favicon-notify.ico
favicon-notify2.ico
favicon.gif
favicon.ico
index.php.template.txt Eliminate almost all PHP from index.php 2013-04-15 06:57:18 -06:00
ladder.php
pokedex.php
pokemonshowdown.png
pokemonshowdownbeta.png
README.md
robots.txt
showdown.crx
showdown.webapp
testclient.html

Pokemon Showdown Client

This is a repository for some of the client code for Pokemon Showdown.

This is what runs play.pokemonshowdown.com.

WARNING: You probably want the Pokemon Showdown server.

Testing

You can make and test client changes simply by 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.

Certain things will fail:

  • 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)
  • The ladder tab
  • The /ladder command

Everything else can be tested, though.

Warning

This repository is not "batteries included". It does NOT include everything necessary to run a full Pokemon Showdown client.

In particular, it doesn't include a login/authentication server, nor does it include the database abstraction library used by the ladder library (although it's similar enough to mysqli that you can use that with minimal changes).

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

In other words, this repository is incomplete and NOT intended for people who wish to serve their own Pokemon Showdown client (you can, but it'll require you to rewrite some things). Rather, it's intended for people who wish to contribute and submit pull requests to Pokemon Showdown's client.

License

Pokemon Showdown's client is distributed under the terms of the AGPLv3.

WARNING: This is NOT the same license as Pokemon Showdown's server.