Redditor Builds a CPU Emulator Inside ChatGPT's Code Console, Runs Snake

Time-Ad9897 · reddit · 2026-08-05

A Reddit user shared an open-source project called ChatCPU that implements a CPU emulator inside ChatGPT's Python execution environment. It's still a proof of concept, but it has successfully run a Snake game (albeit one tick at a time). The author also attempted to port it to Gemini but needed extensive prompt engineering. Code is on GitHub.

Related event: Geek Builds CPU Simulator Inside ChatGPT Code Environment(2 posts)→

Original post →

More from Fun

Fun channel →