hubot-ab
A Hubot script for Muan's AB. A 4-digit number guessing game.
Last updated 5 years ago by mrsaints .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-ab 
SYNC missed versions from official npm registry.

hubot-ab

Build Status devDependency Status

A Hubot script for Muan's AB. A 4-digit number guessing game.

See src/guess.coffee for full documentation.

Installation via NPM

  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:

    [
        "hubot-ab"
    ]
    
  3. 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

Current Tags

  • 1.1.3                                ...           latest (5 years ago)

5 Versions

  • 1.1.3                                ...           5 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |