# samtay/tetris

A terminal interface for Tetris

Repository: https://github.com/samtay/tetris
Canonical: https://ross.abutalabs.com/products/tetris
Language: Haskell
License: MIT
License Family: permissive
Topics: haskell, brick, vty, terminal-game, tetris, game, tui
Last push: 2025-02-27T18:29:33+00:00

## Health v2 (maintenance only)
Score: 26/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 8, release rhythm 8, longevity 100
- inputs: {"age_days": 3368, "days_push": 552, "days_rel": 682, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1023, forks 43 (observed 2026-08-28T04:03:16.265874+00:00)

## What it is
A terminal-based Tetris game written in Haskell using the brick TUI library. It runs directly in the command line with configurable levels, preview characters, and high-score tracking.

## Use cases
- play tetris in the terminal
- terminal game for linux and macos
- tui game written in haskell
- play a quick game from the command line
- example of building terminal UIs with brick

## When to choose
- you want a lightweight Tetris game playable directly in your terminal on macOS or Linux
- you want a real-world example of building TUI apps with Haskell's brick library
- you prefer keyboard-driven terminal games over graphical ones

## When to avoid
- you need a graphical Tetris with sound and animations
- you primarily use Windows, where support is questionable
- you need a game that works reliably across arbitrary Linux distros via prebuilt binaries

## Facets
- artifact type: cli-tool
- maturity: active
- function: game, terminal-ui, cli
- domain: gaming-tools, developer-tools
- platform: cli, cross-platform
- tags: tetris, haskell, brick, tui, terminal-game, arcade, command-line, macos, linux

## Member repositories
- samtay/tetris (main) score 26

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:16.265874+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:08:39.620304+00:00, confidence not recorded.
  - readme: https://github.com/samtay/tetris (fetched 2026-08-28T04:03:16.265874+00:00, sha 5544b78cf3e7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
