Tetris
A playable Excel workbook game where visual verification matters.

View the sample project on GitHub: example/tetris
What it does
Tetris is a small workbook application that can be inspected, executed, and reviewed as source.
Why it is a useful xlflow example
It demonstrates UserForm controls, event procedures, session-backed visual iteration, and image export.
Project structure
The repository keeps VBA under src/, the workbook under build/, and project behavior in xlflow.toml.
xlflow features used
doctor,status, andpullfor setup and source synchronization;fmt,lint, andanalyzebefore Excel operations;- sessions,
run --diagnostic,inspect, andexport-imagefor verification.
Verification strategy
Run the source checks, push into a disposable workbook, execute the documented entry point, inspect the affected cells or form, export an image when layout matters, and review the Git diff.
Commands to reproduce
bash
xlflow doctor --json
xlflow pull --json
xlflow lint --json
xlflow push --json
xlflow run --diagnostic --json
xlflow inspect workbook --json
xlflow export-image --jsonRepository
See the linked example repository above for the workbook and source files.