A security analyst created a playable version of Tetris that lives within a PDF file. Gameplay is a janky, but the project shows a unique way to use inputs and outputs within a PDF file.

source https://www.windowscentral.com/software-apps/browsing/why-create-a-playable-version-of-tetris-within-a-pdf-why-not