Skip to content

larsgw/CrappyCards

Repository files navigation

Crappy Cards logo Crappy Cards

A Happening plugin based on Cards Against Humanity (see LICENSE).

I don't agree with all the content in Cards Against Humanity. Because of that, I'm currently working on labeling the cards, to give the user the option to filter out certain topics. This option will be on by default.

Install

There is currently no production developer console instance for Crappy Cards. For now, you can deploy it yourself by following these steps (adapted from the Happening example code).

On Linux/Mac, use your Bash-compatible shell. On Windows, we recommend the Git shell that comes with Git.

  1. Clone the code: git clone https://github.com/larsgw/CrappyCards.git; cd CrappyCards.
  2. Run node updateCards.js to load card data
  3. Create a Developer console app via https://happening.im/store/106 and clicking "Start!".
  4. Create a directory with a deploy key file: mkdir .keys/; echo {deployKey} > .keys/foo.
  5. Deploy your app using ./deploy foo or npm run deploy -- foo. It should instantly update in your browser / app.

Contribute

Bugs & other issues

Report at GitHub Issues.

Test

Currently, there are no other tests than creating a test environment and running it yourself. On how to deploy the app, see the Install guide above.

Update cards

  1. Clone the code: git clone https://github.com/larsgw/CrappyCards.git.
  2. Install dev packages: npm install
  3. Change the version in updateCards.js (at cardsUrl). Try to make sure that the card and pack IDs match up.
  4. Run script: node updateCards.js

Classify cards

Help with classifying cards would be very welcome, but is currently not viable.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published