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 7
agrishin 4 days ago|
Great project! I somehow missed whole cpu architecture topic, so gonna catch up on that now
Jaso1024 4 days ago|
Yeah, fortunately I made cpu arch part of the game, so it'll serve great for that as well
kongchu2 4 days ago||
Soooo cool! I will keep try this
K0IN 4 days ago||
love it, some level (full adder with 8 inputs) where a bit repetative, but it is fun.
Jaso1024 4 days ago|
yeah, I felt that when playing myself, do u think this level is not necessary given previous levels? (it would also help me if u indicated ur level of familiarity w/ the concepts s.t i can calibrate)
K0IN 3 days ago||
I think it's nice, but maybe just use 4 bit inputs to cut a bit on the repetitiveness.

Im a software dev, so not that much hardware experience

unvalley 3 days ago||
Great concept! Multi language support maybe good for spreading.
jomoho 4 days ago||
first level is impossible to solve for me! Hint or showing solution did not work! Also adding multiple sources or ground behave differently than connecting to the same.
Jaso1024 4 days ago|
Next update has warnings about bus contention (multiple things into one node) when its an issue, and will have a proper show solution button.

For level 1.1 the solution is basically to take the ground and use that as a singular input to the source pin of an nmos transistor, let the input to the level be the gate pin of that same nmos transistor, and to let the drain (top) pin of that nmos transistor connect to the level's output

DullJZ 3 days ago||
Awesome! But too difficult for a beginner like me
oytis 4 days ago||
Must be missing something - is there a way to save progress?
Jaso1024 4 days ago|
progress is saved automatically, what issue are you encountering?
oytis 3 days ago|||
None yet, will try to remember not to clear cookies :) Sometimes games that don't maintain user accounts let you save progress in a file and restore it later, so that it survives loss of browser state, see e.g. https://microcorruption.com/

Thank you for the game by the way! It's nice to recall my asic classes, and looking forward to GPU specific chapters.

oytis 3 days ago|||
Oh, no, now I actually lost part of my progress. Apparently has something to do with multiple tabs open.
triilman 4 days ago||
is there any source or game like this specializing to create microcontroller, like arduino, wemos (not the IC), what kind of protocol is supposed to use.
Jaso1024 4 days ago|
not to my knowledge, but i'd consider adding this in (i'm planning to extend to TPUs and apple silicon NPUs later, so i might just add this in aswell). what would one want the levels to look like?
joha4270 4 days ago||
So, is there anything about GPU's in here right now?

I didn't actually finish Act 2, but it seems to end in a conventional processor with the GPU first coming after another two acts currently under construction.

Jaso1024 4 days ago|
Not at the moment unfortunately, I've actually completed a good chunk of the GPU levels, but I think ppl will need to do act 2 and 3 for it to make sense
treelover 4 days ago|
I like the concept! What tools did you use to build it?
Jaso1024 4 days ago|
stack was mainly vite (react) + typescript pretty much (canvas 2d for the visuals)
More comments...