The client for Pokémon Showdown
Go to file
Guangcong Luo e2b40c9568 Merge pull request #140 from Slayer95/patch-1
Add messages for Toxic Orb and Flame Orb
2014-02-27 20:57:47 -06:00
data Sync data 2014-02-27 19:32:18 -06:00
desktop
fx Add ocean background 2013-10-11 17:03:16 -05:00
githooks update-version-query-strings is no longer an accurate script name 2013-10-31 02:29:49 -05:00
graphics-src More graphics files 2014-02-01 01:03:36 -06:00
js Add messages for Toxic Orb and Flame Orb 2014-02-27 21:30:00 -05:00
lib Rating decay and other ladder tweaks 2014-02-27 19:32:18 -06:00
style PM minimizing: change color of PM header for new messages 2014-01-10 10:43:07 +01:00
swf Update soundManager 2014-01-12 01:26:57 -06:00
.gitignore Support both static/dynamic index pages 2013-10-04 16:56:27 -05:00
.htaccess Add ps-proxy to autoforwarding whitelist 2014-02-08 14:22:48 -06:00
action.php
apple-touch-icon.png
cache.manifest
crossdomain.php Allow access outside of CloudFlare 2013-11-20 18:15:13 -06:00
crossprotocol.html
customcss.php Link back to server manager when reloading custom CSS 2013-09-17 21:55:43 -05:00
favicon-16.png
favicon-32.png
favicon-48.png
favicon-128.png
favicon-256.png New 256x256 icon 2013-11-09 00:18:38 -06:00
favicon-notify.gif
favicon-notify.ico
favicon-notify2.ico
favicon.gif
favicon.ico
index.template.html Work around teambuilder virus issue 2014-01-03 22:45:43 -06:00
ladder.php Fix obscure division-by-zero issue 2014-02-18 00:31:34 -06:00
news-embed.php iframe for news page 2013-09-20 16:48:31 -05:00
pokedex.php
pokemonshowdown.png
pokemonshowdown.psd
pokemonshowdownbeta.png
README.md
robots.txt Embed news into HTML for faster loading 2013-09-20 16:48:31 -05:00
showdown.crx
showdown.webapp Move Firefox webapp manifest author URL to pokemonshowdown.com 2013-09-08 21:18:15 -05:00
testclient.html Rename client-tournament.js to client-chat-tournament.js 2013-12-09 16:16:11 +11:00

Pokémon Showdown Client

This is a repository for some of the client code for Pokémon Showdown.

This is what runs play.pokemonshowdown.com.

WARNING: You probably want the Pokémon 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.

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 everything necessary to run a full Pokémon 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 Pokémon 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 Pokémon Showdown's client.

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.