The client for Pokémon Showdown
Go to file
2013-04-24 15:44:00 -07:00
backup Move notification.php to the backup directory 2013-02-20 04:10:53 -07:00
data Revert "Add translation support and translations extracted from the ROM. Requires every game message from battle.js to use _ to be translated." 2013-04-21 20:33:37 -06:00
fx Populate with current state of client 2013-01-23 16:39:14 -08:00
githooks Revert "testclient.html is no longer necessary" 2013-04-18 04:20:49 -06:00
js Support custom CSS from server static directory 2013-04-24 13:59:35 -07:00
lib Safer approach to updating the stats 2013-04-22 19:53:01 -07:00
style Revise custom avatar feature 2013-04-24 02:43:15 -06:00
swf Fix music on *.psim.us 2013-04-13 03:34:05 -07:00
.gitignore index.php is now index.html 2013-04-16 01:55:14 -07:00
.htaccess More directives not to index the index page 2013-04-18 18:00:35 -06:00
action.php Refactor action.php 2013-04-01 23:21:33 -07:00
cache.manifest Populate with current state of client 2013-01-23 16:39:14 -08:00
crossdomain.php Correct referrer when canonicalising URIs 2013-04-24 06:32:25 -06:00
customcss.php Cached CSS files now get a .css extension 2013-04-24 15:44:00 -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.template.html Upgrade to jQuery 2.0.0 2013-04-20 05:42:59 -06:00
ladder.php Use htmlspecialchars rather than htmlentities 2013-04-19 20:54:13 -06:00
pokedex.php Upgrade to jQuery 2.0.0 2013-04-20 05:42:59 -06: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 Revert "testclient.html is no longer necessary" 2013-04-18 04:20:49 -06: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 Add more domains to showdown.webapp 2013-04-18 17:12:13 -06:00
testclient.html Upgrade to jQuery 2.0.0 2013-04-20 05:42:59 -06: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.