Skip to main content

A Tetris game written in Python.

Project description

Tetris Game

Build PyPI - Version PyPI - Python Version

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.

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

tetris_py-0.0.8.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

tetris_py-0.0.8-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file tetris_py-0.0.8.tar.gz.

File metadata

  • Download URL: tetris_py-0.0.8.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for tetris_py-0.0.8.tar.gz
Algorithm Hash digest
SHA256 20c14ffcef797b5d953e7bc020109ecb02d73d57a6bc275642dfdd43c18f9238
MD5 a7ee7129b07c1c3ef85e8c1e1f165241
BLAKE2b-256 f520ad9d6eb8d88c1ca637fc6f8f9cbc6377d32578ae1be398d1af0963adc2b6

See more details on using hashes here.

File details

Details for the file tetris_py-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: tetris_py-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for tetris_py-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cc9773b28b2567c94895ba32ea78d55ebdca281cc56a0b4d77cb8fbaf5431310
MD5 968c3d2dbd180c60ac90d90ac1c57d02
BLAKE2b-256 4d82a4b4cf4be79f60252255a8f4a467aae5f5fe42419df1aa6dfeb4d2a1f12f

See more details on using hashes here.

Supported by

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