Have fun.
Download and run the correct application for your system directly, or follow one of the steps
below.
Terminal usage
pip install pagame
pagame
Python usage
pip install pagame
from pagame import Play
Play()
See and run examples/example_game.py for manually starting the game with parameters.
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 through the GUI, or into the example script.
Parameters
Note that all these can be controlled through the GUI.
| Parameter | Description | Type |
|---|---|---|
delay |
Minutes between each game. If tuple, randomly sampled between values. |
int or tuple[int, int] |
language |
Which language the game is played with. | str |
playlist |
Spotify-URI for the playlist. | str |
spotify_id |
Spotify client id. | str |
spotify_secret |
Spotify client secret. | str |
Metadata
Release files for pagame 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pagame-1.1.3.tar.gz | 111.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pagame-1.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 225.6 kB
Release files / pagame-1.1.3.tar.gz
| Download URL | pagame-1.1.3.tar.gz |
|---|---|
| Size | 111.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
238f3f2292421a5e364f6720896ba0c17ebed669469e8f777950c48e3cd0a11f
|
|
BLAKE2b-256 checksum How to use checksums |
83d30d0e702486bbe16b11ab6dfa78d68201aadaf5329e91c312a21fb52efda1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.1
|
Release files / pagame-1.1.3-py3-none-any.whl
| Download URL | pagame-1.1.3-py3-none-any.whl |
|---|---|
| Size | 114.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3397def3e5f1a6724b4cb4b78e2f3fea20e1d9fd037211ad91fb4e8202e47de
|
|
BLAKE2b-256 checksum How to use checksums |
6fd8aecaad5e3eb52a69e2c76d33b5ce0d8e4527a24cce30b1d710ee336b4fe2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.1
|