TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

NandGame – Build a computer from scratch

353 点作者 OuterVale7 个月前

18 条评论

magicalhippo7 个月前
Love the game, and it inspired me to get a small FPGA dev board and make my own instruction set and soft-CPU for it. Not very practical, but a fun exercise.<p>I got an iCE40 board[1] as the open-source story was decent and price was low. There might be better options now.<p>[1]: <a href="https:&#x2F;&#x2F;www.digikey.com&#x2F;en&#x2F;products&#x2F;detail&#x2F;lattice-semiconductor-corporation&#x2F;ICE40UP5K-B-EVN&#x2F;6596291" rel="nofollow">https:&#x2F;&#x2F;www.digikey.com&#x2F;en&#x2F;products&#x2F;detail&#x2F;lattice-semicondu...</a>
评论 #42015505 未加载
评论 #42014783 未加载
AlchemistCamp7 个月前
I played a similar game called Turing Complete and really enjoyed it! <a href="https:&#x2F;&#x2F;store.steampowered.com&#x2F;app&#x2F;1444480&#x2F;Turing_Complete&#x2F;" rel="nofollow">https:&#x2F;&#x2F;store.steampowered.com&#x2F;app&#x2F;1444480&#x2F;Turing_Complete&#x2F;</a><p>It&#x27;s very similar to the Nand2Tetris book.
评论 #42012379 未加载
评论 #42015705 未加载
dang7 个月前
Related:<p><i>NandGame – Build a Computer from Scratch</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36862274">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36862274</a> - July 2023 (3 comments)<p><i>NandGame – Build a Computer from Scratch</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31055307">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31055307</a> - April 2022 (14 comments)<p><i>NandGame – Build a Computer from Scratch</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25282507">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25282507</a> - Dec 2020 (136 comments)<p><i>Show HN: Online challenge: Build a CPU from scratch</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17508151">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17508151</a> - July 2018 (60 comments)
评论 #42011204 未加载
kelnos7 个月前
Ugh, this just reminded me how far I&#x27;ve fallen. I did EE in college (&gt;20 years ago), specializing in computer architecture. Never did anything with it professionally; I ended up in software. I couldn&#x27;t remember how to do any of these. I managed to trial-and-error my way to the half-adder, at least.
评论 #42011367 未加载
schoen7 个月前
I did both this and the Nand2Tetris course before realizing that they are implementing <i>the same computer</i> -- this is an interactive graphical version, while the original Nand2Tetris uses a textual HDL where you write down the connections between logic gates as text, instead of clicking and dragging to indicate them.<p>I found them both fun and educational, but I thought the NandGame was <i>more</i> fun. But it&#x27;s good to know about the connections, for example because there are more follow-on exercises that you can do from Nand2Tetris (working with higher layers of computer software) after you complete the NandGame. Or you can just be aware that you can talk about the experience and the substance with people who have done the other version!
评论 #42013641 未加载
评论 #42017011 未加载
ActorNightly7 个月前
Some food for thought:<p>Once you complete this (ignoring the first level where you actually build a NAND gate) you essentially get very much what looks like a Neural Network (since it takes 2 neurons to represent a NAND gate), n layers deep, with a lot of zeros in the weight matrices, and some storage.<p>Here is my question: given the input&#x2F;output semantics at the assembly level, is it possible to train a blank neural network to look like this? Backprop obviously wouldn&#x27;t work, but perhaps there is some form of directed search one could use?
评论 #42012612 未加载
评论 #42012404 未加载
theogravity7 个月前
I have zero experience with this, and I wish it explained what these components do. What does a relay do, what is the &quot;c&quot; and &quot;in&quot;? Why is there a separate power source, but if you hook up a &#x2F; b to it and flip it on, it gets power without it?
评论 #42013304 未加载
评论 #42013285 未加载
ivanbelenky7 个月前
this is awesome, I recommend everyone to also peek into or play MHRD<p><a href="https:&#x2F;&#x2F;store.steampowered.com&#x2F;app&#x2F;576030&#x2F;MHRD&#x2F;" rel="nofollow">https:&#x2F;&#x2F;store.steampowered.com&#x2F;app&#x2F;576030&#x2F;MHRD&#x2F;</a>
michael-online7 个月前
This looks awesome! I never finished working the book and I regret it. Can&#x27;t wait to try even more of this out.
nachox9997 个月前
How much time will pass until someone is playing Doom on this page?
ziofill7 个月前
Very nice! Related: <a href="https:&#x2F;&#x2F;turingcomplete.game&#x2F;" rel="nofollow">https:&#x2F;&#x2F;turingcomplete.game&#x2F;</a>
insane_dreamer7 个月前
Awesome! Will do this with my child.
rahen7 个月前
Does a similar game but with neural networks exist?
asdefghyk7 个月前
I was thinking maybe they meant starting from sand
lencastre7 个月前
Reminds of the Turing Machine game from Steam
hellavapid7 个月前
cant wait to waste a few hours later :3
robblbobbl7 个月前
Cool thx!
tonetheman7 个月前
I wish there were more hints.<p>I have done this before in another version of this game but for the life of me cannot see how to get to a single output from all of the components I have placed on the screen.<p>It does look cool but without more directions or hints I am done for.
评论 #42013691 未加载
评论 #42011715 未加载
评论 #42012786 未加载
评论 #42025139 未加载
评论 #42012294 未加载