A tetris game runs in the terminal
Project description
Tetris Terminal🎮
A terminal-based Tetris game written in Python using the curses library.
Features
- Modern Tetris design following the Tetris Design Guideline
- Extended Placement
- Next Piece Preview
- SRS System
- Piece Holding
- Shadow Piece
- Modern Scoring System
- Modern Level System
Platform Support
Based on Python's curses module:
- ✅ Linux/macOS: Works out of the box
- ✅️ Windows: With
windows-curses
Installation & Usage
pip install tetris-terminal
tetris
Controls
| Key | Action |
|---|---|
a, ← |
Move left |
d, → |
Move right |
w, ↑,x |
Rotate cw |
z |
Rotate ccw |
s, ↓ |
Soft drop |
space |
Hard drop |
c |
Hold |
p |
Pause |
q |
Quit game |
License
MIT License - see LICENSE for details.
Acknowledgements
Idea from tinytetris (a C implementation).
Going to be implemented(Maybe)
- start and game over ui
- sound
- ...
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_terminal-0.1.5.tar.gz
(11.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tetris_terminal-0.1.5.tar.gz.
File metadata
- Download URL: tetris_terminal-0.1.5.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef42d64316ae110c7e9f7e22b0d7a44c3d0eb8f0e7bbee7020752c89eeb492e1
|
|
| MD5 |
f4029890e9472a06d3486389fc4164b7
|
|
| BLAKE2b-256 |
1e5cb54072bd689956de10e0497f42c8a7e3d2f92c8b01e25d94c5d25a61b68a
|
File details
Details for the file tetris_terminal-0.1.5-py3-none-any.whl.
File metadata
- Download URL: tetris_terminal-0.1.5-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4229b96e54e657b310a1bb982f9baebe7dc7e1dc2a23a9add0128f0243f749b8
|
|
| MD5 |
440723fc0380ae92242e6f8c7be28d96
|
|
| BLAKE2b-256 |
5c5d9006265a4699f5be5e581a56e07a0c56794fc5f9ab2fabac540508ada822
|