Pokémon battle simulator.
Go to file
2012-08-11 12:52:25 -03:00
config Basic implementation of new login 2012-07-20 23:58:36 -07:00
data Rock Head's description was apparently confusing. 2012-08-11 12:52:25 -03:00
logs Convert logging.md to use CRLFs so Notepad can open it. 2012-02-11 02:16:25 -05:00
mods Rename the BW-only mod to conform to the ID scheme. 2012-08-01 21:47:26 -05:00
.gitignore .gitignore everything in /config/ 2012-07-28 15:04:02 -07:00
app.js Support engine.io 2012-08-10 18:55:12 -07:00
battles.js Fix Red Card message 2012-08-06 14:38:47 -07:00
chat-commands.js Offline promote/demote 2012-08-10 00:10:39 -07:00
doc.txt Move braces to the same line as their control statements 2012-04-16 12:54:03 +10:00
old-doc.txt Fixed the fix 2012-04-16 14:29:07 +10:00
package.json Add SockJS as the default networking library. 2012-07-06 22:56:28 -05:00
Procfile Make Procfile specify Heroku's desired port 2012-05-16 19:31:02 -05:00
README.md Added the space in 'The Immortal' 2012-07-09 22:07:05 +04:00
rooms.js Batched ladder requests 2012-08-07 19:21:53 -07:00
simulator.js Don't mark rooms as active if they're not 2012-08-01 23:23:18 -07:00
tools.js Make sure formats have their full ruleset 2012-08-01 19:54:23 -07:00
users.js Make sure the Zarel exception doesn't crash exotic group configs 2012-08-10 20:23:46 -07:00
verifier.js Fixes to verifier 2012-07-29 14:23:05 -07:00

Showdown

Showdown is a simulator of Pokemon battles. It currently supports singles battles in Generations 4-5 (HGSS, BW, BW2).

Installing

Showdown requires Node.js and npm (which is installed by default with Node.js since v0.6.3).

Run npm install to install all necessary dependencies.

Copy config/config-example.js into config/config.js, and edit as you please.

After this, start Node:

cd <location of PS>
node app.js

You can also specify a port:

node app.js 8000

Visit your server at http://play.pokemonshowdown.com/~~SERVER:PORT/

Replace SERVER with your server domain or IP, and PORT with the server's port. You can leave off :PORT if it is 8000 (the default).

Yes, you can test even if you are behind a NAT without port forwarding: http://play.pokemonshowdown.com/~~localhost/ will connect to your local machine. Some browser setups might prevent this sort of connection, however (NoScript, for instance). If you can't get connecting locally to work in Firefox, try Chrome.

The reason your server is visited through play.pokemonshowdown.com is to make it more difficult for servers to see a user's password in any form, by handling logins globally. I realize that you might want your own login server and client hosted outside the pokemonshowdown.com domain, and I'll look more deeply into how to facilitate that when we're closer to leaving beta.

Browser support

Showdown currently supports, in order of preference:

  • Chrome
  • Firefox
  • Safari
  • Safari for iPhone/iPod/iPad
  • Opera
  • Firefox for Android
  • IE9+

IE8 has a few teambuilder issues that will be worked out when I have time.

As for older browsers (Firefox 3.6, IE7), I won't go out of my way to support them, but if there's a simple fix, you can suggest it to me and I'll implement it.

Credits

Pokemon Showdown was created by Guangcong Luo [Zarel].

Developers

  • Guangcong Luo [Zarel]
  • Bill Meltsner [bmelts]

Contributors

  • [Marty-D]
  • Cody Thompson [Rising_Dusk]
  • [The Immortal]