hubot-ab
v1.1.3
Published
A Hubot script for Muan's AB. A 4-digit number guessing game.
Maintainers
Readme
hubot-ab
A Hubot script for Muan's AB. A 4-digit number guessing game.
See src/guess.coffee for full documentation.
Installation via NPM
Install the hubot-ab module as a Hubot dependency by running:
npm install --save hubot-abEnable the module by adding the hubot-ab entry to your
external-scripts.jsonfile:[ "hubot-ab" ]Run your bot and see below for available config / commands
Commands
Command | Listener ID | Description
--- | --- | ---
hubot guess number | ab.guess | Returns a feedback indicating how accurate your 4-digit number guess is
hubot guess surrender | ab.surrender | Restarts the game with a new number, duh!
hubot guess tutorial | ab.tutorial | Tells you how to play this game
Sample Interaction
user1>> hubot guess 1234
hubot>> user1: 0A 1B