Guangcong Luo 95f2b90d9a Work around teambuilder virus issue
There's a virus floating around that's causing teambuilder not to work
for many users. Further investigation shows that it deletes the tenth
byte before the utilichart.js include, changing a </script> into
</sript> and preventing the utilichart.js include from working.

This change prevents the virus from interfering with utilichart.js,
and also makes it possible to detect the virus. We currently don't
do anything after detecting it, though.
2014-01-03 22:45:43 -06:00
2014-01-02 23:31:03 -06:00
2013-10-11 17:03:16 -05:00
2014-01-03 13:47:14 +04:00
2013-04-13 03:34:05 -07:00
2013-04-01 23:21:33 -07:00
2013-09-02 22:07:23 -05:00
2013-11-09 00:18:38 -06:00
2013-09-02 22:07:32 -05:00
2013-09-20 16:48:31 -05:00
2013-08-18 22:48:11 +10:00
2013-04-27 01:51:38 -07:00
2013-04-27 01:51:38 -07:00
2013-04-27 01:51:38 -07: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.

Description
The client for Pokémon Showdown
Readme AGPL-3.0 3.9 GiB
Languages
TypeScript 42.1%
PHP 29.1%
JavaScript 21.5%
CSS 5.2%
HTML 1.9%
Other 0.2%