Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

tetris

GItHub - Version Python Version from PEP 621 TOML GitHub License

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)

Source distribution for tetromino 0.0.0.dev0
File Size Uploaded
tetromino-0.0.0.dev0.tar.gz 93.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tetromino 0.0.0.dev0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.0.dev0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page