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 |
q |
Quit game |
License
MIT License - see LICENSE for details.
Acknowledgements
Idea from tinytetris (a C implementation).
Going to be implemented(Maybe)
- pause and resume feature
- 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.2.tar.gz
(9.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.2.tar.gz.
File metadata
- Download URL: tetris_terminal-0.1.2.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f06e21aeb85c913d11ca595679c14fbb21a381a3485e716884e0f0c81d6d3b0
|
|
| MD5 |
304605d5ed1fcef677acd993dfd68a70
|
|
| BLAKE2b-256 |
b66f4eeb505686f7f21db5b178cb333768e4560d0e47af5d8619cfcede436349
|
File details
Details for the file tetris_terminal-0.1.2-py3-none-any.whl.
File metadata
- Download URL: tetris_terminal-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4ffc573b69673d671da97c1c1851a339b7cf646f05f652492d960cd9147f491
|
|
| MD5 |
616ee3db051c88df30cb4413e1d2e2e3
|
|
| BLAKE2b-256 |
d21d09274cd9b7540c3636d3e309186d822e120e856b9c6738145326f4bb078a
|