A Tetris game written in Python.
Project description
Tetris Game
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
Release history Release notifications | RSS feed
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.6.tar.gz
(16.6 kB
view details)
Built Distribution
tetris_py-0.0.6-py3-none-any.whl
(19.1 kB
view details)
File details
Details for the file tetris_py-0.0.6.tar.gz
.
File metadata
- Download URL: tetris_py-0.0.6.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0166878cc7112d05369afd12c98764e7102408e6939a99e89cbb729e02cdfe6 |
|
MD5 | e838de89c25bd5f1b833fa8832dbdcee |
|
BLAKE2b-256 | 5772cae14d8e9964fdf011bb58eab731e05520b3231cad5872ff78cf0303ca71 |
File details
Details for the file tetris_py-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: tetris_py-0.0.6-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60df06edc40a1062d1c33ebb7dce3ea8622d8848ef3b8af9938b491b83cd6f76 |
|
MD5 | b92c5f42b94bfa9511276ea2f851611a |
|
BLAKE2b-256 | 340a75c101a15a303d7552dc6e8bb6bb12207f526ceb793c5b1a4668b1ec74c7 |