mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Pokémon battle simulator.
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. |
||
|---|---|---|
| config | ||
| node_modules | ||
| .gitignore | ||
| abilities.js | ||
| app.js | ||
| doc.txt | ||
| formats.js | ||
| items.js | ||
| learnsets.js | ||
| movedex.js | ||
| pokedex.js | ||
| README.md | ||
| scripts.js | ||
| simulator.js | ||
| statuses.js | ||
| tiers.js | ||
| tools.js | ||
| typechart.js | ||
| users.js | ||
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.