Skip to main content

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.

License

Copyright 2024 Toma Popov.

Distributed under the terms of the Apache 2.0 license.

Metadata

Release files for tetris-py 0.0.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tetris-py 0.0.17
File Size Uploaded
tetris_py-0.0.17.tar.gz 24.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tetris-py 0.0.17
File Interpreter ABI Platform
tetris_py-0.0.17-py3-none-any.whl Python 3 none any Details

Total release size: 52.0 kB

Release files / tetris_py-0.0.17.tar.gz

Download URL tetris_py-0.0.17.tar.gz
Size 24.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5913ef83111475943234b9b912a78aba3420d498d01841991cd8b97c33e2697c
BLAKE2b-256 checksum
How to use checksums
8fcccf5762b9e8e196cfd88201e5e582cdb35a501e270dd871ab7b331e9ca1f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / tetris_py-0.0.17-py3-none-any.whl

Download URL tetris_py-0.0.17-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7a31ea54987558656102b347eefb9279a80078b77ed35203c829ddafb65da1e
BLAKE2b-256 checksum
How to use checksums
993e284173bd9c203b551779eea30b5020ef801f98f76e81ab8aca79928509b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.0.17 This release

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page