Pre-release
This release is a pre-release and may not be stable for production use.
tetris
A small command-line implementation of the Tetris game engine.
Table of Contents
Installation
Local installation (editable/development):
pip install -e .
Install normally:
pip install .
Usage
Run the package from the repository (no install required):
python -m tetris < input.txt > output.txt
If the package is installed, you can run the console script directly:
tetris < input.txt > output.txt
Testing
Run the test suite with pytest:
uv run pytest
License
tetris is distributed under the terms of the GPL-3.0-or-later license.
Metadata
Release files for tetromino 0.0.0.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tetromino-0.0.0.dev0.tar.gz | 93.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tetromino-0.0.0.dev0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 102.3 kB
Release files / tetromino-0.0.0.dev0.tar.gz
| Download URL | tetromino-0.0.0.dev0.tar.gz |
|---|---|
| Size | 93.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b39d8ad264dc1fc92c53b0b3e286558e981f509ab73b999336a1e339ad54f07
|
|
BLAKE2b-256 checksum How to use checksums |
094d26d7a958a6dbf972fdac17a4b650923e7d2214a4585fdc7ae38bc152a271
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / tetromino-0.0.0.dev0-py3-none-any.whl
| Download URL | tetromino-0.0.0.dev0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4734e80b5f1e8e5743f3024fb27e167828a71af4be6b4f573686edba192ad7e
|
|
BLAKE2b-256 checksum How to use checksums |
4b95e828d878776d75cdd2a9913097cd1d95cda638327cfabe52fa435586a630
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|