Skip to main content

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.

Metadata

Release files for cetragm 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cetragm 0.2.0
File Size Uploaded
cetragm-0.2.0.tar.gz 30.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cetragm 0.2.0
File Interpreter ABI Platform
cetragm-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 63.0 kB

Release files / cetragm-0.2.0.tar.gz

Download URL cetragm-0.2.0.tar.gz
Size 30.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5b724ff27c62b8ef8703248b505f2cd461ae9584069c9a115496dc3152eb2ffc
BLAKE2b-256 checksum
How to use checksums
69c9a9833794c2c5bf9786db0c1ed635955bda189c0a3403d1162c0a145e5913
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.15

Release files / cetragm-0.2.0-py3-none-any.whl

Download URL cetragm-0.2.0-py3-none-any.whl
Size 33.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70b62e5e3d14de530d4b372feabd22dd26711c4b54deb104dad5d125e991194b
BLAKE2b-256 checksum
How to use checksums
f0fac8ae535495ba3c99fd50b444d9d26e638b4967be287977a69d0e21e117bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.15

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page