1.1.1 • Published 7 years ago

lovebotplayer v1.1.1

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

While you can write a lovebot player by providing an implementation in whatever REST methodology you choose, starting with the lovebotplayer package means you only have to write a single strategy function. In addition, some computational functions are provided in the package for you, and some basic examples to follow.

Installation

npm install lovebotplayer --save

Usage

let lovebotPlayer = require("lovebotplayer");

// strategyDirectory and port are also supported parameters (assumed to be ./strategy and 8080 if not provided)
lovebotPlayer.start({ enableLogging: true });

In your strategy directory implement a function that takes in parameters and returns a move, as in the examples.

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago