vindinium-helper

0.3.1 • Public • Published

npm version Build Status Codacy Badge

Vindinium Helper

illizian.github.io/vindinium-helper/

A javascript helper library for building Vindinium bots

Installation

$ npm install vindinium-helper --save

Usage

Load the library

var helper = require('vindinium-helper');

Then pass the game state objects to the provided Classes. E.g. when using stephank/vindinium-client

function bot(state, callback) {
    var intel = new helper.Intel(state.game, state.hero);
    var board = new helper.Board(state.game.board);
 
    board.printMap();
};

API

Please see docs/

Readme

Keywords

none

Package Sidebar

Install

npm i vindinium-helper

Weekly Downloads

1

Version

0.3.1

License

ISC

Last publish

Collaborators

  • illizian