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.8.tar.gz
(21.5 kB
view details)
Built Distribution
tetris_py-0.0.8-py3-none-any.whl
(23.1 kB
view details)
File details
Details for the file tetris_py-0.0.8.tar.gz
.
File metadata
- Download URL: tetris_py-0.0.8.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20c14ffcef797b5d953e7bc020109ecb02d73d57a6bc275642dfdd43c18f9238 |
|
MD5 | a7ee7129b07c1c3ef85e8c1e1f165241 |
|
BLAKE2b-256 | f520ad9d6eb8d88c1ca637fc6f8f9cbc6377d32578ae1be398d1af0963adc2b6 |
File details
Details for the file tetris_py-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: tetris_py-0.0.8-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc9773b28b2567c94895ba32ea78d55ebdca281cc56a0b4d77cb8fbaf5431310 |
|
MD5 | 968c3d2dbd180c60ac90d90ac1c57d02 |
|
BLAKE2b-256 | 4d82a4b4cf4be79f60252255a8f4a467aae5f5fe42419df1aa6dfeb4d2a1f12f |