The client for Pokémon Showdown
Go to file
2016-02-16 20:42:49 -05:00
data Update Move Animations Round 5 2016-02-08 08:33:55 +00:00
desktop Shrink assets 2016-02-02 19:44:24 -05:00
fx Update Move Animations Round 5 2016-02-08 08:33:55 +00:00
githooks Teambuilder: Add PU as a filterable tier 2016-01-17 05:57:56 -05:00
graphics-src Shrink assets 2016-02-02 19:44:24 -05:00
js Teambuilder: Support validating with no format 2016-02-16 20:41:21 -05:00
lib Fix Elo rating decay 2016-02-16 20:00:13 -05:00
style Make roomlist hover effect more visible 2016-02-16 20:42:49 -05:00
swf Update soundManager 2014-01-12 01:26:57 -06:00
.eslintrc.js Add new BattlesRoom global to eslintrc 2016-02-05 17:19:44 -05:00
.gitignore Add githooks/build-indexes 2015-12-21 20:09:55 -06:00
.htaccess Add githooks/build-indexes 2015-12-21 20:09:55 -06:00
.travis.yml Implement basic linting 2015-12-03 03:36:01 -05:00
action.php Fix minor error when Referer header not sent 2015-11-05 03:21:26 -05:00
apple-touch-icon.png Shrink assets 2016-02-02 19:44:24 -05:00
cache.manifest Populate with current state of client 2013-01-23 16:39:14 -08:00
crossdomain.php Fix crash in Safari Private Browsing 2015-12-31 12:27:50 -05:00
crossprotocol.html Fix crash in Safari Private Browsing 2015-12-31 12:27:50 -05:00
customcss.php Save some more bandwidth 2015-07-22 18:14:21 -04:00
favicon-16.png Shrink assets 2016-02-02 19:44:24 -05:00
favicon-32.png Shrink assets 2016-02-02 19:44:24 -05:00
favicon-48.png Shrink assets 2016-02-02 19:44:24 -05:00
favicon-128.png Shrink assets 2016-02-02 19:44:24 -05:00
favicon-256.png Shrink assets 2016-02-02 19:44:24 -05: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 Compress favicon.ico 2016-01-02 16:14:18 +01:00
index.template.html Split off client-topbar.js from client.js 2016-01-18 01:42:30 -08:00
ladder.php Add COIL for NU (current) 2016-02-11 19:21:42 +04:00
news-embed.php iframe for news page 2013-09-20 16:48:31 -05:00
package.json Add githooks/build-indexes 2015-12-21 20:09:55 -06:00
pokemonshowdown.png Shrink assets 2016-02-02 19:44:24 -05:00
pokemonshowdown.psd New logo 2013-04-27 01:51:38 -07:00
pokemonshowdownbeta.png Shrink assets 2016-02-02 19:44:24 -05:00
README.md README: Improve links and intro 2014-06-19 01:41:27 -05:00
robots.txt Embed news into HTML for faster loading 2013-09-20 16:48:31 -05:00
showdown.crx Populate with current state of client 2013-01-23 16:39:14 -08:00
showdown.webapp Move Firefox webapp manifest author URL to pokemonshowdown.com 2013-09-08 21:18:15 -05:00
testclient.html Split off client-topbar.js from client.js 2016-01-18 01:42:30 -08:00

Pokémon Showdown Client

Navigation: Website | Server repository | Client repository

Introduction

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

This is what runs play.pokemonshowdown.com.

WARNING: You probably want the Pokémon Showdown server, if you're setting up a 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.