1.0.0 • Published 5 years ago

hubot-games v1.0.0

Weekly downloads
3
License
ISC
Repository
-
Last release
5 years ago

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