Image: reddit.com · Video still: Got an STM32F429 Discovery lying around? Let it play Tetris by itself on your desk
A self-playing Tetris desk ornament on an STM32F429 Discovery
An old JavaScript Tetris clone ported with Claude to an STM32F429 Discovery board, where a built-in AI plays forever.
Credits
The full story
The maker ported their 2011 browser Tetris clone with Claude to the STM32F429I-DISC1 board as a desk ornament. A built-in AI plays and never loses, and the all-time high score survives power cycles.
To save power it avoids the external SDRAM, only redraws changed cells and runs at 90 MHz instead of 180 MHz, cutting power from 0.9 W to 0.7 W.
How it was done
Tools
Themes
Loading themes…
Sources
From a short post by the maker, so the details are as they tell them.
- Reddit: Got an STM32F429 Discovery lying around? Let it play Tetris by itself on your desk
The maker's post on r/embedded.
The subreddit's moderators removed it, but the original is still readable (it can take a few seconds to load): archived copy of Reddit: Got an STM32F429 Discovery lying around? Let it play Tetris by itself on your desk (opens in a new tab)
- The code: github.comRepository account: jnz
The project on GitHub.