A competitive Pokemon battle simulator playable in the browser.
git clone git://github.com/sarenji/battletower.git
cd battletower
npm installnpm startOr if you have nodemon:
nodemon app.coffeenpm testbattletower is a one-page app, and the server serves the client. Following this sentence is the main parts that make up battletower with a short explanation of each.
All JavaScript and CSS in this directory are compiled and served to the client. This is where the main client code lives.
All raw data goes here. This is also the place that converts raw data into Move, Pokemon, or other instances for use by the simulator.
Python scripts to scrape Veekun's Pokedex and populate raw data.
The entire server logic is encapsulated in this folder.
Tests for the server and client go here.
All views that are rendered server-side go here. Since battletower is a single page app, there likely will only be one view.
The main entry point of battletower.
The API and socket.io listeners are hosted here. This will probably change.
All contributions to the simulator logic must come with tests. If a contribution does not come with a test that fails before your contribution and passes after, your contribution will be rejected.
Report issues in GitHub's issue tracker.
