Skip to main content

A Tetris game in character terminal environment

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

termtris-0.10.4.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

termtris-0.10.4-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file termtris-0.10.4.tar.gz.

File metadata

  • Download URL: termtris-0.10.4.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for termtris-0.10.4.tar.gz
Algorithm Hash digest
SHA256 aebecdafa7fc31ab6628cb709a342c637610e8fd70e69c28f7dfb614f1d39d9d
MD5 161cb17f681e3feca5e6d626332a4b1b
BLAKE2b-256 74badbd7b2932e04953e3396a000cbfb942adfe34fb7d2181c3745b4b6cba0c8

See more details on using hashes here.

File details

Details for the file termtris-0.10.4-py3-none-any.whl.

File metadata

  • Download URL: termtris-0.10.4-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for termtris-0.10.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d743f57c86e189e2b77415ea70ff1b6a5c6cc2cb3e74cd4a8d01aa90e299222c
MD5 7e4ca7ffb9c7becbc30951ea53fffc79
BLAKE2b-256 bba7cf7750e63f1c3449f22206653b8cd7c17e051ecf6b026ccc9975c2215690

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page