Skip to content

desaias/hubot-pingpong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-pingpong

Keep track of you ping pong games and stats.

See src/pingpong.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-pingpong --save

Then add hubot-pingpong to your external-scripts.json:

["hubot-pingpong"]

Also make sure to add HUBOT_PINGPONG_FIREBASE_URL as an env variable on startup

env HUBOT_PINGPONG_FIREBASE_URL='https://<app-name>.firebaseio.com/'

Sample Interaction

To save a game

example>> hubot ping pong <score> <winner> <loser> 

user>> hubot ping pong 10-9 Dave Jeremy

To see player stats

user>> ping pong stats

About

Keep track of your ping pong games with hubot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published