/heartspy

heartspy - beware of the black queen

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

File        : README.md
Maintainer  : Felix C. Stegerman <flx@obfusk.net>
Date        : 2020-03-29

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

AGPLv3+

Description

heartspy - beware of the black queen

Heartspy is a web-based version of the card game "Hearts" (dutch: "Hartenjagen") for 3 or 4 players.

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=hearts.py flask run

Gunicorn

$ gunicorn hearts:app

Heroku

Just git push :)

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

Password

$ export HEARTSPY_PASSWORD=swordfish

Forcing HTTPS

$ export HEARTSPY_HTTPS=force

License

© Felix C. Stegerman

AGPLv3+