Tetris Terminal
A terminal-based Tetris game.
Features
- Modern Tetris design following the Tetris Design Guideline
- Extended Placement
- Next Piece Preview
- Super Rotation System (SRS)
- Piece Holding
- Shadow Piece
- Modern Scoring System
- Modern Level System
Platform Support
Can basically run on any terminal emulator, even on a Linux tty.
Installation & Usage
pip install tetris-terminal
tetris
Controls
| Key | Action |
|---|---|
a, ← |
Move left |
d, → |
Move right |
w, ↑, x |
Rotate clockwise |
z |
Rotate counterclockwise |
s, ↓ |
Soft drop |
space |
Hard drop |
c |
Hold piece |
p |
Pause |
q |
Quit game |
CLI Options
| Option | Description |
|---|---|
--generate-config |
Generate a default config file and exit |
--disable-config |
Ignore the config file and use built-in defaults |
--server HOST:PORT |
Connect to a multiplayer (see below) server (default: localhost:8765) |
--version |
Show version and exit |
Multiplayer (Versus Mode)
See VERSUS_MODE.md
Configuration
See CONFIG.md
License
MIT License - see LICENSE for details.
Acknowledgements
Inspired by tinytetris (a C implementation).
To be implemented (Maybe)
- Sound support
- ...
Metadata
Release files for tetris-terminal 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tetris_terminal-0.4.5.tar.gz | 54.1 kB | Without provenance | Details for tetris_terminal-0.4.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tetris_terminal-0.4.5-py3-none-any.whl | Python 3 | none | any | Details for tetris_terminal-0.4.5-py3-none-any.whl |
Total release size: 91.9 kB
Release files / tetris_terminal-0.4.5.tar.gz
| Download URL | tetris_terminal-0.4.5.tar.gz |
|---|---|
| Size | 54.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9831ec45bdd5387e8d3f5c95fdbd95706a4733c7c81784ca6d3cbed255390a2
|
|
BLAKE2b-256 checksum How to use checksums |
2f555c7bb928dde47fc39a9a5df5a9db65185b8c86fdd717f243eef39ed5c499
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / tetris_terminal-0.4.5-py3-none-any.whl
| Download URL | tetris_terminal-0.4.5-py3-none-any.whl |
|---|---|
| Size | 37.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7348ab18ea4d9885d31419e38ec7b54b40af5b46d3e6fa946aefb06f2bd9aeae
|
|
BLAKE2b-256 checksum How to use checksums |
10c27159f3f503385d36ab8d145f784431f7bce5b45b831145e247f1af289c37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for tetris-terminal 0.4.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.