Skip to main content

Party games for small groups.

Project description

Have fun.

See and run examples/example_game.py or directly running the module pagame.

Notes

Spotify should be open for the proper experience, but does not have to.

In order for the game to access Spotify, you need to have a Spotify client id and secret. These
can be obtained by creating a Spotify app (through 'developer.spotify.com'); and the client id
and secret can be pasted directly in the script or placed in a folder within the root directory
with names:
        ./secrets/
            spotify_id
            spotify_secret
without any file extensions, and no new line at the end.

When this is in order, run the `play.py`-script from the root directory.

Parameters

DELAY           : Minutes between each game.
                  `int` or `tuple`
                    If a tuple, the game will start at a random time between the two values.

LANGUAGE        : Language to play the game in.
                  `str`
                    Example: "en" for English, "no" for Norwegian.

PLAYLIST        : Spotify-URI for the playlist.
                  `str`

SPOTIFY_ID      : Spotify client id.
                  `str`
SPOTIFY_SECRET  : Spotify client secret.
                  `str`

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pagame-0.1.2.tar.gz (88.3 kB view hashes)

Uploaded Source

Built Distribution

pagame-0.1.2-py3-none-any.whl (88.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page