Pokémon battle simulator.
Go to file
2012-01-25 20:56:49 -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 Focus Sash/Band and Sturdy should only withstand hits if they come from moves, not from other forms of damage. 2012-01-10 16:51:37 -06: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 Red Card and Eject Button. 2012-01-11 00:39:12 -06:00
learnsets.js Everything I did before moving to Git 2011-12-22 23:53:05 -05:00
movedex.js Implement Power Swap and Guard Swap 2012-01-21 17:36:20 -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 Should hopefully fix Iron Barbs, and some other ability/item effects, triggering through Protect. 2012-01-25 20:56:49 -05:00
simulator.js Make sure PP can't go negative. 2012-01-21 17:36:17 -05: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 Clear a user's people array when destroying it. 2012-01-11 11:29:43 -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.