Repository

pragyaangaur/Can-It-Run-Minecraft

Can-It-Run-Minecraft

Open github.com

pragyaangaur/Can-It-Run-Minecraft

Can-It-Run-Minecraft

Minecraft's first version (rd-132211) rewritten as a single freestanding C file that runs in a terminal, browser, PDF, over telnet, on bare x86 PC, and on a jailbroken Kindle Paperwhite.

Visit project

Show me a random project

First shared
Oct 27, 2026
HN activity
20

Show HN@pragyaangaurOct 27, 2026

Show HN: Minecraft as one C file that runs inside a PDF, a terminal and a Kindle

This is basically the doomgeneric idea but applied to Minecraft (its first version rd-132211 that came out on 13 May 2009). It's one freestanding C file with no includes and no memory allocation. It runs in a terminal, over telnet as shared multiplayer, as a 20 KB wasm module, inside a PDF on Chrome and on a bare x86 PC with no OS, and on a jailbroken Kindle Paperwhite. PDFium doesn't have WebAssembly so the C goes to wasm with clang and then binaryen's wasm2js turns it into JavaScript. It also compiles for a Raspberry Pi Pico and Game Boy Advance, but I don't have any of these so haven't tested it. If someone has one would love to hear how it works there. The browser version can be played here directly: https://pragyaangaur.github.io/Can-It-Run-Minecraft Used Claude for the C and JavaScript code because that's outside my area of work. I picked the targets and tested everything. The Kindle version ended up being an extended project so it's not in the linked repo: https://github.com/pragyaangaur/Inkwell And if anyone has any crazier places it could run on (someone please do it on a pregnancy test) do try and share it... maybe I could add it to the repo!

Community

Hacker News discussion

Loading the thread…