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
- better display and 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.4.tar.gz
(10.8 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.4.tar.gz.
File metadata
- Download URL: tetris_terminal-0.1.4.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
112e0d794fa7b573a8b5fc35cbec67e1dd41356b5bf826b53cf4335dc1539696
|
|
| MD5 |
bf46e30a12f26cfc48e5b78b3f464692
|
|
| BLAKE2b-256 |
8cfc90a6885f96c81ab5d047327c11f6e04434c4b2f0acbc6b652e8367332317
|
File details
Details for the file tetris_terminal-0.1.4-py3-none-any.whl.
File metadata
- Download URL: tetris_terminal-0.1.4-py3-none-any.whl
- Upload date:
- Size: 10.1 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 |
356a379d749a52404b4de58b02055e4516c583a81e6da89757e8d7b8cdd5b099
|
|
| MD5 |
fe5ad5229b2c9fe09ca31cdf35da8ae6
|
|
| BLAKE2b-256 |
21acba1cafef24ccc2256104626aa66ef149ed0bd927018fbf847dcf06d2e0c9
|