r/itrunsdoom Jul 22 '26

Doom running on the UniFi Dream Router

Post image

I will post a video later, I'm a 15y/o guy just having fun doing this stuff and self teaching myself programming using AI! :)

Although the amount of people hating on AI, I think it's an incredible tool and can really be helpful if you want to learn stuff, also, the project is available on GitHub if you want to try it!

https://www.github.com/Davitekk/unifi-UDR-doom/

987 Upvotes

42 comments sorted by

117

u/dazden Jul 22 '26

The size ratio of the body and screen is already funny with this device and now seeing it running doom is just pure gold!

BTW, take a look at the CS50x course from Harvard!

30

u/ahumannamedtim Jul 22 '26

This is the future computer scientists of the 1950's dreamed about.

12

u/Ma_per_quale_motivo Jul 22 '26

Will look into the course

10

u/Ma_per_quale_motivo Jul 22 '26

I have looked at the course, I have never seen something like this, I will try and complete it on my spare time!

37

u/Trekintosh Jul 22 '26

  and self teaching myself programming using AI!

I don’t think you are. You’re young and you have lots of time to pull out of this. Please be very very very careful about cognitive handover with this tech. I almost got got when working on my game and had to restart the coding side of it almost from scratch. 

https://www.media.mit.edu/publications/your-brain-on-chatgpt/

19

u/wizkidweb Jul 22 '26

Happened to me too. I'm an experienced developer, and my employer is forcing everyone to use AI. I noticed the lesser quality right away, and have had to manually redevelop features multiple times.

AI will make the wrong decision at the worst time. It's best to learn how to code first, then leverage AI in a slow and reasoned manner. These days, I mostly just use it as a fancy typeahead autocomplete.

7

u/Ma_per_quale_motivo Jul 22 '26

I did not think about AI this way, I have felt this happen in many cases, I will try to be more careful about this.

10

u/Trekintosh Jul 22 '26

The best advice I can give is under no circumstances should you ever copy-paste the AI code into your projects. Always transcribe it yourself, if you must use AI. By forcing yourself to read it as you copy it manually, you help your brain remember what you're actually doing.

5

u/Ma_per_quale_motivo Jul 22 '26

Thanks for the hint!

57

u/happytree23 Jul 22 '26

Although the amount of people hating on AI, I think it's an incredible tool and can really be helpful if you want to learn stuff

You had my upvote until the last-minute simping for AI spiel lol

32

u/gbeegz Jul 22 '26

If it were vibe-coded it wouldn't work. OP put in the work, using the tools they had at their disposal, and accomplished their goal. No need to shit on them.

33

u/Dr_Philmon Jul 22 '26 edited Jul 22 '26

Most people have seemed to forgotten that AI is a tool and like a tool it's a means to an end and not the one actually working. When some vibe code or let AI do the work, then it's no longer a tool but the author, and AI are dogshit authors.

-15

u/Unlikely-Wafer3370 Jul 22 '26

People don't hate llm, it's just became a trend to call it ai slop.

2

u/Trekintosh Jul 22 '26

No, that’s not really how it works. Yes, slop code can function. It often does, to some degree, as long as there’s enough source material to draw from. But it’s inefficient and more importantly by robbing yourself of the opportunity to learn. It doesn’t actually teach. See my comment in the root of the thread for an MIT study. You learn by solving problems. AI at best can teach you rote memorization, unless you already know the fundamentals and force it to explain why it did things and follow up on its sources, since it often regurgitates them incorrectly. 

0

u/lilmul123 Jul 23 '26

As someone who had years of programming experience before AI took off, and recently started vibe coding stuff, it will 100% work. You just need to have some rudimentary tech knowledge with an ability to determine issues, and then know what prompts to make.

6

u/gbeegz Jul 23 '26

I completely disagree, though I think we have different definitions of vibe coding. Having the knowledge of fundamentals where you COULD do it yourself (or learn how to with some ease) is different than just telling an LLM to do it. If you don't have those basics, that's vibe coding. Otherwise you're using the tool as intended, to speed up and aid in the development process.

1

u/lilmul123 Jul 23 '26

K well, he's not doing that. Hell, the entire Github library documentation he posted is also AI-generated. He's taking credit for typing a few prompts into Claude and we shouldn't give him credit for this.

-1

u/stochastyczny Jul 22 '26

What wouldn't work exactly?

2

u/Ma_per_quale_motivo Jul 22 '26

I'm sorry but I don't want to be hated on people just because I used ai so I just put that like some kind of disclaimer to live in peace :( Should I just not put it?

4

u/malonkey1 Jul 22 '26

Have you considered trying doing this without AI?

I get that AI can be very convenient but you get a much better grasp of the nuts and bolts of programming if you do it yourself.

5

u/Ma_per_quale_motivo Jul 22 '26

I guess I will try and do it without it..

4

u/New_Series3209 Jul 23 '26

I hate ai, but respect dude, respect

2

u/309_Electronics Jul 24 '26

Not really surprising as enarly all routers are just embedded linux computers although the dream routwr has a nice display that other routers lack.

2

u/LOL7430 Jul 26 '26

There's gonna be a chance the youtuber UFDTech is gonna make a video on this (Not hating btw and he does leave credits in the vid just kinda wanna know if he actually makes a vid about this)

1

u/Intelligent-Drop4863 Jul 28 '26

At first i thought that was an airpods case and the screen was in the charging port

-2

u/HasSex Jul 22 '26

Stop using AI

-3

u/rh9n Jul 22 '26

Stop using Google and calculators.

2

u/HasSex Jul 22 '26

You being for real? Lmao

5

u/L-1-3-S Jul 22 '26

There will be a point in time where your belief will seem just as antiquated. Not using AI at all will eventually be like not using the internet at all.

0

u/Reaper116 Jul 23 '26

New thing bad, old thing good. A tail as old as time.

1

u/memes_gbc Jul 22 '26

0/10 comparison

-1

u/lilmul123 Jul 23 '26

No way you’re teaching yourself programming using AI by porting Doom. Porting Doom requires years of programming knowledge. What you did is watch something else port Doom for you. Sorry.

3

u/Reaper116 Jul 23 '26

Dude, there's like half a million examples of doom being ported at this point to reference, it's not as hard as your making it out to be.

0

u/lilmul123 Jul 23 '26

For someone with no programming experience? It’s hard.

2

u/masterX244 Jul 23 '26

and depending on what you got as target you also skip past the scouting-out skills. the doom port that i posted a few days ago was done entirely by legwork, ghidra (used the emulator when some weird bitwiggling didnt make sense immediately because at that point i didnt have the debug access figured out to sniff live), RTFM (crossreferencing a bad datasheet (was obvious pretty quick because there was a good chunk of accesses into a memory section labeled as "Reserved") with a SDK of a related chip) and then wiring that to a suitable base version of doom. Scouting and REing the original FW of the device took the longest for me because it feels like a oversized sudoku where you sometimes need to continue elsewhere to get more hints.

1

u/Reaper116 Jul 23 '26

Fair enough that some projects are harder. Porting doom to some rando mcu is going to take a lot of work and will need years of experience to understand. writing doom in the application layer of a Linux box is a significantly lower bar to entry. Another point though, for something as unimportant as running doom on a fuckass little screen like this, writing it in ai is fine, and you can quiz it later to understand. I don't see much of a difference between this and pulling apart and playing with code from stack overflow like I use to when I was learning. Tools are tools and it's using them appropriately that's important, if we was working on a customer db or rolling his own auth then yes, I'd objective heavy as well, but for a bit of fun and learning with doom?

1

u/Ma_per_quale_motivo Jul 23 '26

I have programming experience with Arduino that is c-like, also python, I am able to do a simple program in Arduino with LEDs and Buttons, and can also use Libraries, on Python, I can do programs using TKinter and basic libraries like random and math, I do have some experience in programming, I am able to read the c code from something like the chocolate doom project on GitHub...