cahpy

cahpy - capybaras against humanity

AGPL-3.0 License

Stars
2
File        : README.md
Maintainer  : Felix C. Stegerman <[email protected]>
Date        : 2020-03-26

Copyright   : Copyright (C) 2020  Felix C. Stegerman
Version     : v0.0.1
License     : AGPLv3+

Description

cahpy - capybaras against humanity

Cahpy is a web-based clone of the card game "Cards Against Humanity" with some "house rules" built-in.

Installing

Just git clone :)

Requirements

Python (>= 3.5) & Flask.

Debian

$ apt install python3-flask

pip

$ pip3 install --user Flask   # for Debian; on other OS's you may need
                              # pip instead of pip3 and/or no --user

Running

Flask

$ FLASK_APP=cah.py flask run

Gunicorn

$ gunicorn cah:app

Heroku

Just git push :)

NB: you'll need to set WEB_CONCURRENCY=1 b/c it only works single-theaded atm!

Packs

You can set CAHPY_PACKS to override the default choice of packs (which is official).

$ export CAHPY_PACKS="uk fantasy sf"  # specific packs
$ export CAHPY_PACKS="all"            # all packs
$ export CAHPY_PACKS="official"       # all official packs
$ export CAHPY_PACKS="unofficial"     # all unofficial packs

Official packs: blue, fantasy, geek, green, intl, red, science, sf, uk, us (some significant overlap).

Unofficial packs: uno-anime, uno-anime-x1, uno-f, uno-hackers, uno-malcont.

Password

$ export CAHPY_PASSWORD=swordfish

Forcing HTTPS

$ export CAHPY_HTTPS=force

License

Code

Felix C. Stegerman

Cards

(i.e. cards/*)

See cards/COPYING.

Official Cards

Cards Against Humanity