Logo FS-Skia-UI

Tetris Demo Spec

Goal

Build a complete single-player falling-block puzzle demo that exercises grid rendering, keyboard input, deterministic step timing, collision checks, line clearing, scoring, and a persistent interactive runtime.

Player Experience

The game opens directly into a Tetris-style board with an active tetromino falling inside a 10 by 20 visible grid. A side panel shows next piece, held piece, score, lines, level, and game state. The player moves, rotates, drops, holds, clears lines, and restarts after topping out.

Board and Pieces

Controls

Rotation and Movement

Scoring

Visual Requirements

Game State

Track at minimum:

Determinism and Evidence

Acceptance Criteria

Out of Scope

Type something to start searching.