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

Uploaded Source

Built Distribution

termtris-0.10.2-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: termtris-0.10.2.tar.gz
  • Upload date:
  • Size: 14.2 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.2.tar.gz
Algorithm Hash digest
SHA256 9c45b108d95d4d74c3f83bf27715a95ff554493bd1612654302e7931b795c347
MD5 b97942f939e8ceb45bb9b1c8ce7c6c27
BLAKE2b-256 7ec1c4c6eae78e0cb47b663abad666fa59358f2cd092b11411b59890c3c2d39c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: termtris-0.10.2-py3-none-any.whl
  • Upload date:
  • Size: 19.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9eb0e27ff85220ea0f1a5d4da3dcef43aafd1bba719b462fe768e7ea2c9526b3
MD5 0b7cedc406e5450ac916752172eec2ae
BLAKE2b-256 5cc936a4b2314ed3132ffdeeac0e414f6a55277c93b50244f5fb7ff82053e31b

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