A Hubot script for Muan's AB. A 4-digit number guessing game.
npm install hubot-ab

A Hubot script for Muan's AB. A 4-digit number guessing game.
See src/guess.coffee for full documentation.
1. Install the __hubot-ab__ module as a Hubot dependency by running:
```
npm install --save hubot-ab
2. Enable the module by adding the __hubot-ab__ entry to your external-scripts.json file:
`json`
[
"hubot-ab"
]
3. Run your bot and see below for available config / commands
Command | Listener ID | Description
--- | --- | ---
hubot guess number | ab.guess | Returns a feedback indicating how accurate your 4-digit number guess isab.surrender
hubot guess surrender | | Restarts the game with a new number, duh!ab.tutorial
hubot guess tutorial | | Tells you how to play this game
```
user1>> hubot guess 1234
hubot>> user1: 0A 1B