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-game.git
cd tetris-game
./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.4.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

tetris_py-0.0.4-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tetris_py-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c4c30c236763d110dc736570f698065de1b80206e43a277d4a82a0ef43888cf8
MD5 8bd1b2bb56ad691fbb61dfc9195ca18b
BLAKE2b-256 84a93236da8a7dad12494632b6c4d0ce4d8fd29e7f1030eb09ced5a233827545

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tetris_py-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ae449a213c69dc4caea128133fc6c24716fdb550fc5ce1fd90aab0fdefc0b7fd
MD5 ced4cf85634556a61914418721d876a1
BLAKE2b-256 eafc0cb1770b1ae3a91c6585b53d676d0e4d56a7ad1ebc92ffefc144849cc2e3

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