/TQ-Bot

A bot for Pokemon Showdown

Primary LanguageJavaScriptMIT LicenseMIT

Cassius

Build Status

A bot for Pokemon Showdown.

Installation

Cassius requires Node.js version 6.0.0 or later and a command line (e.g. Command Prompt on Windows or Terminal on Mac OS/Linux) to run. Once you have compatible software, complete installation by following these steps:

  1. Obtain a copy of Cassius

You can do this through the GitHub client by clicking the "Clone or download" button on the home page of the repository and then clicking "Open in Desktop". You can also use the following Git command:

git clone https://github.com/sirDonovan/Cassius.git

  1. Navigate to the root directory

The remaining steps will take place in the root directory of your Cassius files. Navigate there with the command:

cd DIRECTORY

Replace DIRECTORY with the filepath to your directory (e.g. C:\Users\sirDonovan\Documents\GitHub\Cassius).

  1. Install dependencies

Run the following command to install required dependencies:

npm install --production

If you plan to contribute to development, run the command without the --production flag to also install dependencies used for testing.

  1. Set up the config file

Copy and paste the config-example.js file, rename it to config.js, and open it in your text editor to enter your desired information.

From this point on, you can start the bot by running the following command:

node app.js

Development

Issues and pull requests are welcomed! When submitting a pull request, be sure that you have installed development dependencies and ran npm test to check for errors in your code.

Credits

License

Cassius is distributed under the terms of the MIT License.