Skip to main content

No project description provided

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tetromino-0.0.0.dev0.tar.gz (93.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tetromino-0.0.0.dev0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

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

Hashes for tetromino-0.0.0.dev0.tar.gz
Algorithm Hash digest
SHA256 9b39d8ad264dc1fc92c53b0b3e286558e981f509ab73b999336a1e339ad54f07
MD5 f14d8de640462ff45b868e365827c1c5
BLAKE2b-256 094d26d7a958a6dbf972fdac17a4b650923e7d2214a4585fdc7ae38bc152a271

See more details on using hashes here.

File details

Details for the file tetromino-0.0.0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for tetromino-0.0.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4734e80b5f1e8e5743f3024fb27e167828a71af4be6b4f573686edba192ad7e
MD5 68f4076a8f255e0410146568331ece23
BLAKE2b-256 4b95e828d878776d75cdd2a9913097cd1d95cda638327cfabe52fa435586a630

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page