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

erek

[H]F Junkie
Joined
Dec 19, 2005
Messages
10,912
Thought I posted about this before, but can't find the post

"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:


  • 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."


Source: https://www.pcgamer.com/wunderkind-...tirely-inside-terraria-then-plays-pong-on-it/
 
This kid has a mind for circuit design. Even if all it is is a “copy” it’s the deep learning gained from it that will be highly beneficial if he wants to continue on this careeer path.
 
  • Like
Reactions: erek
like this
does it run on shooting stars?

It’s an unconventional resume item, but I’ll allow it.
 
  • Like
Reactions: erek
like this
Back
Top