# ThomasRinsma/pdftris

Tetris in a PDF (in most browsers)

Repository: https://github.com/ThomasRinsma/pdftris
Canonical: https://ross.abutalabs.com/products/pdftris
Language: Python
License Family: other
Last push: 2025-01-12T14:20:47+00:00

## Health v2 (maintenance only)
Score: 21/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 1, release rhythm 35, longevity 43
- inputs: {"age_days": 606, "days_push": 598, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1038, forks 47 (observed 2026-08-28T04:03:19.678547+00:00)

## What it is
A Python-generated PDF file that runs a playable Tetris game inside PDF viewers. It abuses PDF field objects to render a monochrome grid and a text field for keystroke input, working in PDFium (Chromium) and PDF.js (Firefox).

## Use cases
- play tetris inside a pdf viewer
- open a game in a browser pdf tab
- demo of abusing pdf form fields for rendering
- novelty pdf that runs a game
- example of pdf javascript and field tricks

## When to choose
- you want a playable game embedded in a PDF
- you're exploring unusual PDF capabilities in Chromium or Firefox viewers

## When to avoid
- you need a real game with sound, color, or performance
- you use Acrobat or other PDF engines it wasn't designed for
- you need a maintained, licensed project

## Facets
- artifact type: application
- maturity: experimental
- function: game, pdf, graphics
- domain: pdf, gaming-tools, entertainment
- platform: browser, cross-platform
- tags: tetris, pdf-hack, novelty, pdfium, pdfjs

## Member repositories
- ThomasRinsma/pdftris (main) score 21

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:19.678547+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:04:13.676308+00:00, confidence not recorded.
  - readme: https://github.com/ThomasRinsma/pdftris (fetched 2026-08-28T04:03:19.678547+00:00, sha 1b38482d0b96)
- Data as of 2026-08-30T08:39:29.467469+00:00.
