No project description provided
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tetromino-0.0.0.dev0.tar.gz.
File metadata
- Download URL: tetromino-0.0.0.dev0.tar.gz
- Upload date:
- Size: 93.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b39d8ad264dc1fc92c53b0b3e286558e981f509ab73b999336a1e339ad54f07
|
|
| MD5 |
f14d8de640462ff45b868e365827c1c5
|
|
| BLAKE2b-256 |
094d26d7a958a6dbf972fdac17a4b650923e7d2214a4585fdc7ae38bc152a271
|
File details
Details for the file tetromino-0.0.0.dev0-py3-none-any.whl.
File metadata
- Download URL: tetromino-0.0.0.dev0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4734e80b5f1e8e5743f3024fb27e167828a71af4be6b4f573686edba192ad7e
|
|
| MD5 |
68f4076a8f255e0410146568331ece23
|
|
| BLAKE2b-256 |
4b95e828d878776d75cdd2a9913097cd1d95cda638327cfabe52fa435586a630
|