hubot-games

1.0.0 • Public • Published

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

Made with ♥ by a bunch of monkeys

Package Sidebar

Install

npm i hubot-games

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

326 kB

Total Files

33

Last publish

Collaborators

  • aneves