Skip to content

ADFA-6568 | Rename the Tetris template to Block Game - #140

Merged
jimturner-adfa merged 1 commit into
mainfrom
ADFA-6568-rename-tetris-to-block-game
Oct 19, 2026
Merged

jimturner-adfa merged 1 commit into
mainfrom
ADFA-6568-rename-tetris-to-block-game

Conversation

@jimturner-adfa

@jimturner-adfa jimturner-adfa commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Why

ADFA-6568: Tetris is a trademark that The Tetris Company actively enforces, including against block games whose names end in "-tris". The Fun-and-Games-JME falling-block template is renamed Block Game.

What changed

All in templates/Fun-and-Games-JME/:

  • Template directory: tetris/ → blockgame/, and templates.json points at the new path.
  • Template name: now Block Game (jME), described as "Creates a falling-block puzzle game (jME)".
  • Game code: TetrisGame → BlockGame, Tetromino.kt.peb → Pieces.kt.peb, TetrominoType → PieceType.
  • Gallery text: the addon.json summary and description, README.md, and fun-and-games-jme.html.

The thumbnail and launcher icons carry no Tetris branding, so they are unchanged.

Verification

  • Repo check: addons check passes.
  • Bundle: build-cgt.sh builds fun-and-games-jme.cgt, and no tetr string appears anywhere in it.
  • Device: tested on a Galaxy Tab A11 (SM-X238U, Android 16) running a CoGo debug build from 2026-09-29:
    • The install dialog lists "Demo (jME), Block Game (jME), Bubble Wand (jME)".
    • The Templates tab shows Block Game (jME) — Installed.
    • Block Game (jME) appears on the New Project screen.
    • A generated project contains BlockGame.kt, Board.kt, MainActivity.kt and Pieces.kt, with no .peb suffixes, no template/ directory, no unsubstituted ${{…}}, no tetr text, and the jME 3.9.0 jars in app/libs.
    • Quick run built and installed the app, and it launches into a playable game: score and level are shown, pieces fall and lock, and the next piece spawns. No crash in logcat.

Not covered

The separate FunandGames-libCDX bundle also ships a "Tetris (libCDX)" template. It isn't in this repository, so it needs its own rename.

🤖 Generated with Claude Code

Tetris is a trademark The Tetris Company actively enforces, including
against block games whose names end in "-tris". Rename the jME
falling-block template to "Block Game (jME)": the template directory
(tetris/ -> blockgame/), the game class (TetrisGame -> BlockGame), the
piece enum (TetrominoType -> PieceType), and every mention in the
gallery summary, README and gallery page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jimturner-adfa
jimturner-adfa merged commit c49cccf into main Oct 19, 2026
1 check passed
@jimturner-adfa
jimturner-adfa deleted the ADFA-6568-rename-tetris-to-block-game branch October 19, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants