candybot

1.0.1 • Public • Published

candybot

A JavaScript Bot for the original Candy box ! \o/

usage

setup

  1. Copy the contents of candybot.js to your clipboard
  2. Open your favorite browser's developer console
  3. Paste the contents of candybot.js into the console
  4. 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!

Package Sidebar

Install

npm i candybot

Weekly Downloads

1

Version

1.0.1

License

BSD-3-Clause

Last publish

Collaborators

  • techjeffharris