GithubHelp home page GithubHelp logo

beardyman / hubot-cah Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jasonrhodes/hubot-cah-fork

0.0 1.0 0.0 161 KB

Cards Against Humanity for Hubot

License: MIT License

CoffeeScript 7.09% Shell 0.46% JavaScript 92.45%

hubot-cah's Introduction

Cards Against Humanity for Hubot*

*cool kids fork

Build Status

Usage

hubot cah restart to begin a new game. (note: this overwrites any games in progress)

Players add themselves to the game at any time by typing cah join. The first person to register automatically becomes the initial dealer, at which point the first Black Card should be presented.

Each round:

Players can see their hand of 7 White Cards by typing cah hand. It is recommended to do this in a private message with Hubot so other players can't see each others' hands. Once a player has selected a card (or optionally two cards depending on the current Black Card), they can submit it using cah play # #.

When all players have submitted cards or 120 seconds have passed since the round began, the game will no longer accept submissions, and will switch to the dealer choice phase. The czar can type cah answers to view all of the available choices, then select one by typing cah choose #.

The round then ends. The player whose submission was chosen earns a point, and becomes the new czar for the next round.

Installation

Add the package hubot-cah as a dependency in your Hubot package.json file. Then add hubot-cah to the list in the external-scripts.json file.

Credits

Card dictionary taken from hubot-humanity

hubot-cah's People

Contributors

jasonrhodes avatar coryallegory avatar max-mathieu avatar colestrode avatar beardyman avatar tenzer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.