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 the 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:
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
Read more on pcgamer.com