Tetris Game
A Tetris game written in Python.
This has 2 possible interfaces:
- pygame GUI (the default/main version)
- command-line (minimal/basic version with reduced functionality)
Install
pip
The preferred way to install Tetris is via pip:
pip install tetris-py
To play, you then simply run:
tetris-py
For the CLI version, use tetris-py-cli instead.
source
An alternative way is to simply clone the repo and use the ./run script:
git clone git@github.com:tomapopov/tetris-py.git
cd tetris-py
./run
For the CLI version, use ./run_cli instead.
Dependencies
The GUI version uses the pygame package, which is listed in requirements.txt.
License
Copyright 2024 Toma Popov.
Distributed under the terms of the Apache 2.0 license.
Metadata
Release files for tetris-py 0.0.17
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 | Actions |
|---|---|---|---|---|
| tetris_py-0.0.17.tar.gz | 24.0 kB | Without provenance | Details for tetris_py-0.0.17.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tetris_py-0.0.17-py3-none-any.whl | Python 3 | none | any | Details for tetris_py-0.0.17-py3-none-any.whl |
Total release size: 52.0 kB
Release files / tetris_py-0.0.17.tar.gz
| Download URL | tetris_py-0.0.17.tar.gz |
|---|---|
| Size | 24.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5913ef83111475943234b9b912a78aba3420d498d01841991cd8b97c33e2697c
|
|
BLAKE2b-256 checksum How to use checksums |
8fcccf5762b9e8e196cfd88201e5e582cdb35a501e270dd871ab7b331e9ca1f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / tetris_py-0.0.17-py3-none-any.whl
| Download URL | tetris_py-0.0.17-py3-none-any.whl |
|---|---|
| Size | 28.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7a31ea54987558656102b347eefb9279a80078b77ed35203c829ddafb65da1e
|
|
BLAKE2b-256 checksum How to use checksums |
993e284173bd9c203b551779eea30b5020ef801f98f76e81ab8aca79928509b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for tetris-py 0.0.17
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.