Top
Best
New

Posted by Jaso1024 4 days ago

Show HN: A game where you build a GPU(jaso1024.com)
Thought the resources for GPU arch were lacking, so here we are
956 points | 186 commentspage 8
tamimio 3 days ago|
I loved this! I played for straight up 2 hours now!

I wish I could get into hardware chip level jobs, I was a wiz in logic gates back in university but for jobs been primarily in systems and embedded, sure you work sometimes on rtos or fpga, but it’s another thing where your whole job is designing that! Unfortunately the jobs in hardware feels like a cult, and they expect you working on some industry specific software that you can’t do/access to unless you are in the industry to start with, kinda a catch 22 situation.

slake 4 days ago||
Bro. I'm obsessed with this. I spent a good 2-2.5 hours on a trot with this. This was one of those things I always wanted to learn a lot about and this was just perfect for that. It wasn't that easy, I really struggled and gave up on some levels but came back and struggled through them. The HexRacer type levels are difficult and I wish I could skip through those.

Also when you give a solution, you probably need an explanation of why that works.

Can't wait till you add the additional coming soon levels.

Your feedback feature seems broken. I tried giving feedback about some basic bugs and it kept saying can't send message.

Please also add a waitlist to notify when you release the additional levels.

eterm 4 days ago|
I adore this genre, and if you enjoy this submission I'd recommend the following games:

    NANDgame ( Free! https://nandgame.com/ )
    Silicon Zeroes ( https://store.steampowered.com/app/684270/Silicon_Zeroes/ )
    Turing Complete ( https://store.steampowered.com/app/1444480/Turing_Complete/ )
    Human Resource Machine / 7 Billion Humans ( https://store.steampowered.com/app/792100/7_Billion_Humans/ )
    MHRD ( https://store.steampowered.com/app/576030/MHRD/ )
They're all slightly different in terms how the construction of a computer is pitched, none of them are perfect, they all have quirks and flaws, but they're all fun.

Some like Human Resource Machine take the approachof

I wish Turing Complete wasn't quite so buggy or awkward, for a while it was by far the most promising of the bunch, but it's never quite polished and it's ended up in a bit of frustrating state.

Notable mention also to The Signal State, Shenzhen I/O, and TIS100 which are higher level than this, but scratch a similar itch.

there's ones like TIS100 which I keep meaning to revisit, but I find it very difficult to get back into these games without starting from scratch, and resetting my TIS100 progress is too intimidating.

hristov 4 days ago||
Ok you have put a lot of work in this and it looks impressive. But it needs a serious balance change. It is far too hard. Currently this may work as a brain teaser for people in the industry or people with computer engineering degrees, but it wont bring any fresh young minds into the industry. The fresh young minds will be scared off.

Teaching is challenging stuff. You have to step out of your current mindset and think with the mind of someone that sees this stuff for the first time. It is not easy to make things look easy and simple. Specifically, I think you need a lot more exploration about cmos logic, about how one side pulls the output up or the other side pulls the output down but they are never on at the same time, about how they effectively amplify the result so the output does not have to depend on the power of the input, etc. Perhaps you can try to have people design things in NMOS logic than in PMOS logic and then combine the two to make a CMOS design to see how they complement each other.

But I do not want to discourage you. This is a very promising start and you should continue if you have the time.

Also, the timed answers -- are you kidding me? The time is waaay too short. And you fail all if you fail a single answer. Oh what is 0xDE in decimal, all I have to do is multiply 16 by 13 and add 14 to that. In my head in 12 seconds. Also the time is not sufficient for filling out truth tables, especially with a laptop trackpad. I was able to pass the truth tables, but gave up on hexracing.

Ok and here are some more specific issues.

-The wires seem to snap in position in a way that they superimpose each other so it becomes very difficult to see what your circuit is doing.

- truth tables seem to be bugged. If you have more inputs than the gate whose truth table you are looking at, sometimes it will generate a fictitious truth table with extra inputs. Thus, some times i get a NOT truth table that has two inputs.

- the ground element should have its connection circle on the top, not the bottom. I realized that you can rotate by pressing R, but the site does not mention that anywhere.

Jaso1024 4 days ago|
lol, yeah, the time should be fixed though rn I think? depending on what level of difficulty you select in the racer game. The wiring is something I've been struggling with, working on making it better.

I intentionally made it s.t the truth tables are based on not just the input into the node, but based on all actual inputs to the node (so if you have additional processing on input x and y, itll show you the not w/ respect to input x and y and not just the immediate input).

will add a rotating cue in the next update

hristov 4 days ago||
Yes the timing is fixed. Appreciate the quick changes. Good luck!
tithos 4 days ago||
Cool concept, but it should be mobile friendly
Jaso1024 4 days ago|
Good point (I didn't really consider this), might be a bit difficult tho tbh, but i'll push this soon
nottorp 4 days ago||
În a few years it will be the only way to explain the kids what a GPU is. Unless you work for an “AI” shop and sneak them into the data center.
SilentM68 4 days ago|
Exactly :(
NooneAtAll3 4 days ago||
truth table minigame is lmost unplayable in dark mode

also it kept showing the same table to me like 4 times

Jaso1024 4 days ago|
I just pushed a fix for this, so it should be better now, its also optional now
NooneAtAll3 4 days ago||
level 1.10 I put 2 AND gates and only one of them works...
Jaso1024 4 days ago||
I want to fix this, could you elaborate a bit (would help even more if you pressed the copy circuit and pasted the result here)
NooneAtAll3 4 days ago||
Add 2 AND gates, 1 NOT gate

G0 = D0 AND SEL

G1 = NOT SEL

G2 = D1 AND G1

G0 -> Ans

G2 -> Ans

Jaso1024 4 days ago||
oh its b/c of the contention between the outputs of the ands for the answer, u need an or gate to merge them (ill add an update w/ visual feedback for these sorts of thigns)
luyu_wu 4 days ago||
It's likely you are pulling one to ground somehow. That was a common bug I faced.
lukebechtel 4 days ago||
really fun :) thanks!
xyst 4 days ago||
not able to get it to work on mobile
NooneAtAll3 4 days ago|
how do I remove/delete elements?
Jaso1024 4 days ago|
click and press delete, realizing this wasn't obvious, a fix to add a similar delete mechanism to how wires are deleted is coming
NooneAtAll3 4 days ago||
> press delete

I don't see any button labeled that

Jaso1024 4 days ago||
oh, as in delete on the keyboard. it shoudl also work just to right click now (might need to refresh)
More comments...