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!

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.9.12.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

termtris-0.9.12-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for termtris-0.9.12.tar.gz
Algorithm Hash digest
SHA256 3e1879b01f55779e151b51e574781d782deceba576e9be61965a0022a6ed65cb
MD5 62650c6de654f8ecdfa7b5ca500d1358
BLAKE2b-256 7a8304fba53fc5a211849f266aab9bbbcd8581c43d75ef47f169f6c44accd04f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: termtris-0.9.12-py3-none-any.whl
  • Upload date:
  • Size: 19.0 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.9.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f7a9b7a75f66313d87afd519f45860a207240c62a127e49c5abaa6bba80dc26b
MD5 ebb301733079db4e2b1dfd70b79a8d2e
BLAKE2b-256 600524b42631e8a4d57bc8ea68b972092bc2d43597fdc2803f50788c104fc41e

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