candybot
A JavaScript Bot for the original Candy box ! \o/
usage
setup
- Copy the contents of candybot.js to your clipboard
- Open your favorite browser's developer console
- Paste the contents of candybot.js into the console
- Press "enter"
Create a new bot
> bot = new CandyBot()
Enable Automatic Features
By default, automatic features (eat, quest, save) are disabled. You may tell your bot to enable them
> bot.enableAutoEat()
undefined
> bot.enableAutoQuest()
undefined
> bot.enableAutoSave()
undefined
You may also enable them when you instantiate your bot by passing in an options object
> candybot = new CandyBot({
autoEat: true,
autoQuest: true,
autoSave: true
})
API
Coming soon! The source is pretty easy to read though!