Skip to main content

Cetra Grand Master | An oddly familiar block stacker in the command line!

Project description

cgm

Cetra Grand Master!

A block stacker game that you might find very familiar. Built with similar design to Tetris Grand Master in mind, but runs entirely in your terminal with much more modern mechanics.

What's Tetris Grand Master? It's a really old Japanese arcade franchise that used a lot of nonstandard features and was regarded as being incredibly hard. Your goal is to survive from levels 500 to 999 in 20g (pieces instantly falling to the bottom) and achieve the rank of Grandmaster. Yeah uh... nobody here is doing that, so it's just really hard Tetris. If anyone gets an S1+ rank, DM me @qwik!

how

pip install cetragm, or pipx install cetragm if you're on an externally managed system like Arch Linux. You may need the pygame module if you don't have it or if pip doesn't install it for you. Run cgm.

demo

Additions from last week:

  • Entire UI system
  • Rebindable controls
  • SRS (Super Rotation System)
  • DAS/ARR/SDF customization
  • New input system, allowing said changes
  • Improved game loop
  • Tweaks to difficulty and progression

how does it fit the theme? uuh technically the main gameplay of tetris is avoiding SPACEs in your stack... yeah, it's a stretch, but I had no time to do better.

what

Features:

  • Supports any terminal emulator, Windows or Linux. (Not tested on Mac but may work.)
  • Rebindable controls, including hard and soft drops as well as holds.
  • Grade system, up to the Gm grade (which I guarantee you won't get)
  • Full color!
  • Dynamic gravity (speed) as your level increases
  • Scoring system
  • Gameplay timer
  • 7-bag piece drawing
  • 5-piece next queue and level display
  • Persistent TLS (or shadow piece)
  • TGM's 20G gravity after level 500
  • Proper ARE, lock delay, and line clear delay
  • Real-time gravity (not tied to frame rates)
  • The standard Super Rotation System and all its janky kicks!
  • Full UI system
  • Fixed, fully rebindable controls

To add:

  • T-spins and detection for them
  • IHS and IRS (Inital Hold/Rotation System)

controls

There's a menu for that! I recommend you pick your own controls - they'll save automatically.

DAS: Delayed Auto Shift, how long until keys start to repeat.\n ARR: Auto Repeat Rate, how quickly keys repeat.\n SDF: Soft Drop Force, how fast your soft drop key goes down.

why

Built for Hack Club's Siege program (week 10 and 11). Also, I like block stackers.

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

cetragm-0.2.0.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cetragm-0.2.0-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file cetragm-0.2.0.tar.gz.

File metadata

  • Download URL: cetragm-0.2.0.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for cetragm-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5b724ff27c62b8ef8703248b505f2cd461ae9584069c9a115496dc3152eb2ffc
MD5 ef219c0f138aeaaa46be043ffb3e45db
BLAKE2b-256 69c9a9833794c2c5bf9786db0c1ed635955bda189c0a3403d1162c0a145e5913

See more details on using hashes here.

File details

Details for the file cetragm-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cetragm-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for cetragm-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70b62e5e3d14de530d4b372feabd22dd26711c4b54deb104dad5d125e991194b
MD5 7af6878194cb1351d7f4d3cbac97ea0d
BLAKE2b-256 f0fac8ae535495ba3c99fd50b444d9d26e638b4967be287977a69d0e21e117bc

See more details on using hashes here.

Supported by

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