The client for Pokémon Showdown
Go to file
Cathy J. Fitzpatrick d99ede9def Always load resources from play.pokemonshowdown.com
With the advent of the *.psim.us URI scheme, one problem was that
images and other resources were not cached across different servers
because each server had a different URI for the same resource. This
commit resolves the problem by loading all resources from
play.pokemonshowdown.com.
2013-03-22 04:07:30 -06:00
backup Move notification.php to the backup directory 2013-02-20 04:10:53 -07:00
data Update data files. 2013-03-13 12:58:04 -04:00
fx Populate with current state of client 2013-01-23 16:39:14 -08:00
githooks Only use first 8 characters of MD5 hash in version 2013-01-26 13:56:41 -07:00
js Always load resources from play.pokemonshowdown.com 2013-03-22 04:07:30 -06:00
lib Fix an issue resulting from the ladder move 2013-02-28 04:05:43 -07:00
style Always load resources from play.pokemonshowdown.com 2013-03-22 04:07:30 -06:00
swf Add another missing swf file 2013-02-21 21:31:47 -07:00
.gitignore Move link whitelist to a config file 2013-03-07 12:58:33 -07:00
.htaccess More robust removal of default port 2013-03-22 12:19:35 +03:00
action.php Allow empty serverid in action.php 2013-03-16 20:06:20 -06:00
cache.manifest Populate with current state of client 2013-01-23 16:39:14 -08:00
crossdomain.php Sharing of resources between psim.us and pokemonshowdown.com 2013-03-22 00:19:23 -06:00
customcss.php Allow safe proprietary (nonstandard) CSS 2013-02-19 00:01:26 -07:00
favicon-16.png Populate with current state of client 2013-01-23 16:39:14 -08:00
favicon-32.png Populate with current state of client 2013-01-23 16:39:14 -08:00
favicon-48.png Populate with current state of client 2013-01-23 16:39:14 -08:00
favicon-128.png Populate with current state of client 2013-01-23 16:39:14 -08:00
favicon-notify.gif Populate with current state of client 2013-01-23 16:39:14 -08:00
favicon-notify.ico Populate with current state of client 2013-01-23 16:39:14 -08:00
favicon-notify2.ico Populate with current state of client 2013-01-23 16:39:14 -08:00
favicon.gif Populate with current state of client 2013-01-23 16:39:14 -08:00
favicon.ico Populate with current state of client 2013-01-23 16:39:14 -08:00
index.php.template.txt Always load resources from play.pokemonshowdown.com 2013-03-22 04:07:30 -06:00
ladder.php Populate with current state of client 2013-01-23 16:39:14 -08:00
pokedex.php pokedex.php moved - useful test page for utilichart.js 2013-02-07 16:35:33 -08:00
pokemonshowdown.png Populate with current state of client 2013-01-23 16:39:14 -08:00
pokemonshowdownbeta.png Populate with current state of client 2013-01-23 16:39:14 -08:00
README.md Add query string syntax to testclient.html 2013-02-20 03:55:26 -07:00
robots.txt Populate with current state of client 2013-01-23 16:39:14 -08:00
showdown.crx Populate with current state of client 2013-01-23 16:39:14 -08:00
showdown.webapp Populate with current state of client 2013-01-23 16:39:14 -08:00
testclient.html Changes to sound support 2013-02-21 21:27:10 -07:00

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.