Wunderkind builds 'fully compliant RISC-V computer' entirely inside Terraria, then plays Pong on it

A dedicated and possibly magical Terraria player over at the From Scratch YouTube channel has done something that, most likely, I won't fully understand for as long as I live. With only the aid of a mod called WireHead—which "maintains full compatibility with [Terraria's] vanilla wiring system but reimplements it in a much more efficient manner"—Xander Naumenko managed to build a "fully compliant RISC-V computer" inside the 2D game. It even has specs:

  • Clock speed: ~5kHz
  • Ram: 96kb
  • Instruction set: rv32i

Probably not one to run Starfield on. Naumenko spends the video above detailing his five-month, 600-hour journey to create the in-game computer and the "Pong clone" he got running on it. It somehow manages to sound both strangely simple and devilishly complex.

Naumenko says he used a vast array of in-game logic gates—switches which are fundamentally either off or on—to build his Terraria PC, but the way the game's circuits work means that "a lot of traditional circuits have to be redesigned" to fit a "new paradigm" which is fundamentally not how circuits work in real life. So, you know, nothing too hard. Just reinventing circuits. We've all been there.

I probably can't go into much greater detail about Naumenko's process without mangling the science behind it, so you should go watch the full 15-minute video or check out the project's GitHub page if you want to see how he did it. I do want to call out his "Pitch" for the Terraria PC though, which I reckon will touch the hearts of all us who have had to deal with the evolution of computers over the last couple of decades.

"There are two fundamentally competing forces when it comes to computer speed," says Naumenko. The first is Moore's law, and the second is "the inevitable growth of software bloat that runs on top of increasingly modern processors". Boy, ain't that the truth? But Naumenko continues: "This project is an attempt to score a decisive rout in this ongoing battle in favor of the programmer," pushing back speeds  "to the early 70s era, tossing the ball firmly back into the court of silicon engineer [sic] without losing any software functionality".

If you want to get a look at just how dazzlingly complex this thing is, here's an easily scrollable image of the entire glorious contraption:

While I doubt that the programmers of the future will be doing much of their work on Naumenko's Computerraria project, I have to salute the project's philosophy. And hey, maybe I'm wrong: Perhaps this and the Minecraft redstone PC are a vision of the future. Sounds better than constantly being asked to sign in to OneDrive.

Joshua Wolens
News Writer

One of Josh's first memories is of playing Quake 2 on the family computer when he was much too young to be doing that, and he's been irreparably game-brained ever since. His writing has been featured in Vice, Fanbyte, and the Financial Times. He'll play pretty much anything, and has written far too much on everything from visual novels to Assassin's Creed. His most profound loves are for CRPGs, immersive sims, and any game whose ambition outstrips its budget. He thinks you're all far too mean about Deus Ex: Invisible War.

Read more
Various creations in Minecraft, including computers and calculators.
This Minecraft creation blots out the sun for the villagers below, they surely praise it as God, but we know it really to be a functioning 32-bit computer with 2 kB of RAM
Orange Pi 5 Plus single board computer
'Is this a practical way to play your Steam games? Nope, not even a little bit.' But getting Steam running on Armbian and a single board computer really is a thing
Knolling shot of "Steam Brick," a Steam Deck with many of its parts removed so it could fit in a smaller enclosure, with some of the removed components arranged tastefully around it.
One mad modder has massacred the Steam Deck, folding it into a 'Steam Brick' with 'no screen, no controller, and absolutely no sense'
Factorio base screenshot with photo of Oppenheimer actor Cillian Murphy in front
The Factorio 'God Factory' was one of this year's greatest gaming feats: 'Most players will never find themselves hitting the limits of the game. We are.'
A pasta "display" on a table showing the word "keep" surrounded by fruit. Obviously.
Penne for your thoughts: This pasta display can show three individual frames and it's trying its best, okay
A scientist looking into a microscope
Japanese boffins invent the 'world's smallest shooting game' by using an electron beam to blast particles one billionth of a metre in size
Latest in Adventure
Image of illuminated manuscript-style drawings from the game Pentiment.
Random characters kept swearing in Obsidian's font-obsessed murder-mystery when its procedural error system ran amok: 'Naughtiness abounded'
An image of a corpse with the text "You've been re-educated."
I played the lost videogame sequel to 1984, and came away more nostalgic than ever for gaming's awkward adolescence in 1999
Rosella encounters a satyr in a forest in King's Quest 4
Eagle-eyed streamer spots that Roberta Williams' portrait in King's Quest 4 is based on her author photo on the back of the game box: 'I never noticed it before.'
Myst puzzle game
'You’ve been asking, and we’ve been listening': Myst remake adds a whole new world to the classic adventure, one originally introduced in another overhaul from 25 years ago
The character takes a test in a school room.
Expelled! review
Max, protagonist of Life is Strange and Life is Strange: Double Exposure, stares with trepidation at something off-screen with her friend.
Life is Strange: Double Exposure reportedly a 'large loss' for Square Enix, says analyst, who adds: 'The company's IP fundamentally varies too much between good and bad'
Latest in News
Dwarf Fortress adventure mode art
After 23 years of making Dwarf Fortress, even its creator is still 'terrified' of drowning all his dwarves with heavy aquifers: 'Part of the problem is we are just not good at videogames'
A unique aspect of Japanese architecture turned out to be a key reason the Like a Dragon games can reuse assets so effectively—and deliver more compact, memorable open worlds than western cities
Pacific Drive Endless Expeditions spring 2025 update trailer still - a sexy, tricked-out 1980s station wagon being blasted with magic healing electricity
Pacific Drive developers change their mind: A year after refusing to give it mid-run saves, it's getting mid-run saves
Starfield's companion robot giving a thumbs-up
Former Bethesda dev who quit Starfield to go solo says it's 'much less stressful as an indie' without daily meetings or 'office politics': it's 'very refreshing to just care about the game'
Schedule I drug deal going down
Forget REPO, Monster Hunter Wilds and Assassin's Creed Shadows, Steam's current global top seller is an early access game about managing a drug empire
Kingdom Come: Deliverance 2 characters with their bodies replaced by skeletons, thanks to the KCD2 Skeleton mod.
Here's that Kingdom Come: Deliverance 2 mod that turns everyone into skeletons you asked for