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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tetris_py-0.0.5.tar.gz
  • Upload date:
  • Size: 16.6 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.5.tar.gz
Algorithm Hash digest
SHA256 93afa5851e3ccaaacab488ce00c9ee8b0455ac6969a9a0c73d0654123af68e04
MD5 aec16577dc8efffb3e7b812a25faf967
BLAKE2b-256 e6cf9f9e7fbaa8d995a03c1c8274bf5533502af391d112df6504426104848248

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tetris_py-0.0.5-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.12.1

File hashes

Hashes for tetris_py-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 93e5fa9690c01d3b6eddfae4d987127e850868255b396d1a65af62a96c66d4ec
MD5 af1afda1e93c9c2fd5e8d8e6e3a2d022
BLAKE2b-256 9cb83ae15c900ec6627770cc52d86c3d77ac130bafe9142645529e9e4fe186d9

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