Why?
I made this over the course of a week to test out the features of textual, and felt like sharing it.
Installation
- Install the script and associated files:
pip install tuinty-forpy-eight
-
Launch the game by running
2048in a terminal of your choice -
Infinite fun, at your terminal!
Customizing Colour Scheme
1. Background
Supply the rgb values of the background colour you want along with the 2048 command
e.g 2048 -bg[--background] 0 0 0
it is optional and defaults to (143, 0, 255)
2. Background Opacity
Supply the opacity as a float between 0 and 1
e.g. 2048 -op[--opacity] 0.2
it is optional and defaults to 0.13
3. Tile colour
Supply the rgb values of the tile colour you want along with the 2048 command
e.g. 2048 -tl[--tile] 0 0 0
it is optional and defaults to (237, 115, 255)
The above arguments can be used in combination
How to
- For instructions on how to play, bring up the help screen by pressing "?" or the F1 key when in the game
Metadata
Release files for tuinty-forpy-eight 1.3.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 | Provenance | |
|---|---|---|---|---|
| tuinty-forpy-eight-1.3.3.tar.gz | 5.7 kB | Without provenance | Details |
Release files / tuinty-forpy-eight-1.3.3.tar.gz
| Download URL | tuinty-forpy-eight-1.3.3.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0407688ff1bb1302cb0f29415002a6fbfe7f94bdd493ecda1c4e8cd6f9cca6b0
|
|
BLAKE2b-256 checksum How to use checksums |
aa035742fcec0995468149543b2abc63eb4a2ae12f30f31400c74b69dc40f878
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for tuinty-forpy-eight 1.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.