The client for Pokémon Showdown
Go to file
Guangcong Luo e04eb7d113 Rating decay and other ladder tweaks
We now have a rating decay of -1/day at 1400, -2/day at 1450, -3/day
at 1500, etc. This roughly translates to a fall from the top of OU to
the bottom over a month of full inactivity, which is somewhat harsh
considering it's done regardless of inactivity. I might tweak this to
be less harsh later.

There's no rating decay below 1400. People can stay there as long as
they want.

The only other tweak is that K is now 40 at >1300 instead of >1400.
Very very slight tweak so that ratings in the 1300-1500 range are
very very slightly more precise.
2014-02-27 19:32:18 -06:00
data
desktop
fx
githooks
graphics-src
js
lib
style
swf
.gitignore
.htaccess
action.php
apple-touch-icon.png
cache.manifest
crossdomain.php
crossprotocol.html
customcss.php
favicon-16.png
favicon-32.png
favicon-48.png
favicon-128.png
favicon-256.png
favicon-notify.gif
favicon-notify.ico
favicon-notify2.ico
favicon.gif
favicon.ico
index.template.html
ladder.php
news-embed.php
pokedex.php
pokemonshowdown.png
pokemonshowdown.psd
pokemonshowdownbeta.png
README.md
robots.txt
showdown.crx
showdown.webapp
testclient.html

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.