<story><title>Show HN: Online challenge: Build a CPU from scratch</title><url>http://nandgame.com/</url></story><parent_chain><item><author>sergex</author><text>This is an attempt to make an educational online game, where the mission is to build a microprocessor starting from simple logic gates.&lt;p&gt;Hopefully it is both fun and challenging, while at the same time educational about some of the fundamental principles of how a CPU works.&lt;p&gt;It still lack some explanatory texts, but is should be playable as it is.&lt;p&gt;It is inspired by the first chapters of the brilliant Nand2tetris course (and I have gotten permission to use the same general CPU design). My hope is this is more accessible since it is web-based and does not require any text-based coding or CS background.</text></item></parent_chain><comment><author>chrisparton1991</author><text>This is really neat, good job!&lt;p&gt;This reminded me of &amp;quot;Code&amp;quot; by Charles Petzold, which I saw you reference in the About page. As a software engineer with an interest (but no professional training) in hardware design, I think it&amp;#x27;s useful and interesting to have at least a basic understanding of how a CPU handles logic.&lt;p&gt;Can I ask what library (if any) you used for the canvas interactions? I&amp;#x27;m looking for something similar for a project of my own.</text></comment>
<story><title>Show HN: Online challenge: Build a CPU from scratch</title><url>http://nandgame.com/</url></story><parent_chain><item><author>sergex</author><text>This is an attempt to make an educational online game, where the mission is to build a microprocessor starting from simple logic gates.&lt;p&gt;Hopefully it is both fun and challenging, while at the same time educational about some of the fundamental principles of how a CPU works.&lt;p&gt;It still lack some explanatory texts, but is should be playable as it is.&lt;p&gt;It is inspired by the first chapters of the brilliant Nand2tetris course (and I have gotten permission to use the same general CPU design). My hope is this is more accessible since it is web-based and does not require any text-based coding or CS background.</text></item></parent_chain><comment><author>pro_zac</author><text>This is great! I&amp;#x27;ve been reading up on low level logic during long builds at work. Any chance you could add a clear all button?</text></comment>