Skip to main content

termtris

A Tetris game in character terminal evironment.

Installation & Run

Uses pip to install the package:

pip3 install termtris

Runs command termtris or tt after installed, then enjoy!

A screenshot of termtris

Background

I wrote this game when I was learning Python language a few months ago. As a learning practice, it's not about business, but just for fun and to reminisce about the past.

The game package dependent on my another Python package ltermio, no other third-party packages required. In fact, the ltermio is its by-product.

I also wrote an AI engine tzero for the game, with C++ language and ctypes library, but it consumes too much computing power and doesn't run very well, so I termporarily removed this part of code from the package.

Metadata

Release files for termtris 0.10.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for termtris 0.10.4
File Size Uploaded
termtris-0.10.4.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for termtris 0.10.4
File Interpreter ABI Platform
termtris-0.10.4-py3-none-any.whl Python 3 none any Details

Total release size: 33.6 kB

Release files / termtris-0.10.4.tar.gz

Download URL termtris-0.10.4.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
aebecdafa7fc31ab6628cb709a342c637610e8fd70e69c28f7dfb614f1d39d9d
BLAKE2b-256 checksum
How to use checksums
74badbd7b2932e04953e3396a000cbfb942adfe34fb7d2181c3745b4b6cba0c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / termtris-0.10.4-py3-none-any.whl

Download URL termtris-0.10.4-py3-none-any.whl
Size 19.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d743f57c86e189e2b77415ea70ff1b6a5c6cc2cb3e74cd4a8d01aa90e299222c
BLAKE2b-256 checksum
How to use checksums
bba7cf7750e63f1c3449f22206653b8cd7c17e051ecf6b026ccc9975c2215690
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.10.4 This release

2 release files

0.10.3

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.16

2 release files

0.9.15

2 release files

0.9.12

2 release files

0.9.11

2 release files

0.9.10

2 release files

0.9.9

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page