Skip to main content

One-day Tetris programming challenge using pyglet

Project description

PyGL-Tetrix

A Tetris clone written using Pyglet. This was done as a one-day project to practice pyglet and programming concepts. This was originally a one-file program, but is now a full python package.

Installation instructions

To play, simply install the package using the command below in the command prompt or terminal.
pip install PyGL-Tetrix
Then, use the following command to run the package.
python -m pygl_tetrix

Controls

  • Move piece left - Left Arrow (←)
  • Move piece right - Right Arrow (→)
  • Move piece down - Down Arrow (↓)
  • Rotate piece clockwise - E
  • Rotate piece counter-clockwise - Q
  • Pause game - Space

Features

  • Eight difficulty levels
  • All regular tetrominos
  • Rotation around proper points
  • Score tracking

WIP

  • Hold piece function
  • Next piece display
  • Increased score for multiple line clears
  • Rotation "kicking"
  • Option to restart after game over

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

PyGL-Tetrix-0.0.2.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

PyGL_Tetrix-0.0.2-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

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