Pokémon battle simulator.
Go to file
Guangcong Luo fd998d4c39 Fix the interaction of Outrage and Protect.
Now it ends with confusion on the last turn of Outrage, and ends without confusion on any other turn. There's still a lot of disagreement on what exactly is supposed to happen, but I'm 90% sure this is right.
2012-01-08 21:42:58 -05:00
config Add some basic documentation 2011-12-23 21:08:08 -05:00
node_modules Update socket.io to 0.8.7 2011-12-23 14:26:20 -05:00
.gitignore Everything I did before moving to Git 2011-12-22 23:53:05 -05:00
abilities.js Implement Suction Cups 2012-01-02 02:12:19 -05:00
app.js Update /ranking: added win/loss statistics, and updated rating stats to new ladder format (replace default Glicko2 rating with ACRE, and rename 'percentile' to 'GXE') 2012-01-02 02:22:59 -05:00
doc.txt Everything I did before moving to Git 2011-12-22 23:53:05 -05:00
formats.js Ban Snow Warning in UU, not the move Hail 2011-12-23 02:18:47 -05:00
items.js Implement Focus Energy and Razor Claw. Lansat Berry works now, too. 2012-01-08 18:05:49 -06:00
learnsets.js Everything I did before moving to Git 2011-12-22 23:53:05 -05:00
movedex.js Fix the interaction of Outrage and Protect. 2012-01-08 21:42:58 -05:00
pokedex.js Fix spelling of Sand-Attack in a Gliscor random battle set 2011-12-23 02:18:13 -05:00
README.md Slightly improve the documentation 2011-12-23 21:09:34 -05:00
scripts.js Give Delibird Bestow as well as Present, and make it always have Leftovers. _Really_ early preparation for Delibird PotD next Christmas. :P 2012-01-02 02:25:03 -05:00
simulator.js That's the last time I assume I know what "this" will refer to in JavaScript. 2012-01-07 15:55:42 -06:00
statuses.js Everything I did before moving to Git 2011-12-22 23:53:05 -05:00
tiers.js Update tiers 2011-12-31 19:03:23 -05:00
tools.js Fix a few bugs in the team validator 2011-12-23 02:21:13 -05:00
typechart.js Everything I did before moving to Git 2011-12-22 23:53:05 -05:00
users.js Everything I did before moving to Git 2011-12-22 23:53:05 -05:00

Showdown

Showdown is a simulator of Pokemon battles. It currently only supports Generation 5 (Pokemon Black and Pokemon White).

Installing

Showdown requires Node.js (and perhaps also Socket.IO).

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

Visit your server at http://play.pokemonshowdown.com/?server=SERVER&serverport=PORT

Replace SERVER with your server domain or IP, and PORT with the server's port (default is 8000).

Currently, this workflow works for testing Pokemon Showdown and testing your patches before submitting pull requests, but I wouldn't recommend running a production server this way. I'll make it easier to host your own server in the future.