vindinium-helper

A javascript helper library for building Vindinium bots

Usage no npm install needed!

<script type="module">
  import vindiniumHelper from 'https://cdn.skypack.dev/vindinium-helper';
</script>

README

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/