Cathy J. Fitzpatrick dfb58aed59 Don't load the client if teams fail to load
If teams fail to load due to some bug, the user may lose their teams
permanently if they save their teams. In avoid to avoid a catastrophe,
we now decline to load the client if teams fail to load.

This should never happen unless a bug is introduced that breaks team
loading.
2013-02-19 01:07:18 -07:00
2013-02-07 13:15:48 -05:00
2013-01-23 16:39:14 -08:00
2013-01-23 16:39:14 -08:00
2013-02-12 23:35:34 -08:00
2013-02-13 01:12:58 -07:00
2013-02-17 23:05:59 -07:00
2013-02-17 23:05:59 -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.

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.

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%