hubot-games
v1.0.0
Published
game library for your (hu)bot
Downloads
25
Maintainers
Readme
HUBOT GAMES
Game library for your (hu)bot! Hangman, Blackjack, TicTacToe, Quiz, 24, ...!
INSTALL
npm install --save hubot-games
external-scripts.json:
[
"hubot-games"
]
GAMES & CMDS
- !21 - Blackjack (21)
- !24 - 24
- !cf - Connect Four (cf)
- !hang - Hangman (hang)
- !quiz - Quiz (quiz)
- !tic - TicTacToe (tic)
MODULES
A series of modules were also developed to improve game development.
- session: controls the session/instance of every game; supports multiplayer
- stats: takes care of all stat (Win, Tie, Loss & Submission) actions
- db: takes care of all the database actions
- rw: reads & writes a unique JSON file that works as the DB