Skip to main content

A Tetris game written in Python.

Project description

Tetris Game

Build

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.7.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

tetris_py-0.0.7-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tetris_py-0.0.7.tar.gz
  • Upload date:
  • Size: 16.4 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.7.tar.gz
Algorithm Hash digest
SHA256 3b4d84c8695ca4902c457329e3cca96184ac1b3665388134227b72720376ccbd
MD5 5394217d0a35e26fd93677a93d871cf1
BLAKE2b-256 ec248d3936e1adf3229e3db61c5377c6a5167ab32e16dc3a638094572ffdda30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tetris_py-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 19.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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8f2b9b64c1038e53a8683dab641ff6fb2d1d2c68b5a5c9403ffe315eafb713fb
MD5 80c355a12d8af30cad8112b15d0a3a5f
BLAKE2b-256 b544a0c9eb1ad4e16acbf302daa940fe553dc6d9f3af45a36ff6c857204cc9ad

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