vindinium-helper
v0.3.1
Published
A javascript helper library for building Vindinium bots
Downloads
6
Readme
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/