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-game
To play, you then simply run:
tetris-game
For the CLI version, use tetris-game-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
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.3.tar.gz
(16.5 kB
view details)
Built Distribution
tetris_py-0.0.3-py3-none-any.whl
(19.0 kB
view details)
File details
Details for the file tetris_py-0.0.3.tar.gz
.
File metadata
- Download URL: tetris_py-0.0.3.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaf53d77923a9a3ec80e8fc60631d83921b0e80c296630d0fad63784dd6f9ae3 |
|
MD5 | 0a346ad0064650e62a9d4a38a28827f0 |
|
BLAKE2b-256 | 388e1f8b3125470b49e4f0ca1f1deb595c89401cb65cb26ec2cb7cf7854b2679 |
File details
Details for the file tetris_py-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: tetris_py-0.0.3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a801af83895cdd8d150dbee0a6481b09a17136d769007a429cf63e2f58e786e7 |
|
MD5 | 2256c318baa5c7e6a9b95f9a558edd26 |
|
BLAKE2b-256 | 9304c0e48e0d67bfcb9056f0301b2af49270269e7548bd0fc94ae1c74d526c41 |