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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for PyGL_Tetrix-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39dba8847850b947bf57d80821c47c37436435f6a4d756e3751527f53bebee29 |
|
MD5 | 5ee1c563435c13a29af69bbe794d63b7 |
|
BLAKE2b-256 | 94c6d2a95e7f88d9ead68bff8d8bff5e4ae724dc3b7e1894602e7e9c6cd51533 |