User description

Charles Petzold's "Code: The Secret Language of Computer Hardware and Software" has been a favorite of mine. It can be found here. I strongly recommend this book, especially if you're new to computer science. Charles does an excellent job of explaining complex concepts in a simple and easy-to-understand manner. SERVERS There is also a second edition here. In chapter 12, Charles describes how to build a simple binary addition machine to add two binary numbers with 8 bits. I decided to create an implementation of this machine in Minecraft as well as in JavaScript. The complete JavaScript repository is available here. In this post, we will walk through the entire process step by step. I will demonstrate how I was capable of following the directions in chapter twelve to create this machine using JavaScript and Minecraft. I recommend reading chapter 12 of this book if want a more detailed explanation of any of these topics. Introduction First, we need to be able add two 1-bit binary number to make two binary numbers of 8 bits. The sum of these two 1-bit numbers is a 2-bit number. The first part of this 2-bit number is called the "sum" bit and the second will be the “carry” bit. You could sing a tune about it: 0 plus 0 equals 0. 0 plus 1 equals 1. 1 plus 0 equals 1. Take the 1. The table below describes the sums of our two 1-bit numbers. Logic Gates We need logic gates to accomplish this. The first one is the AND gate, since we can use it to calculate the carry part. Here is the AND gate I've created in Minecraft (with some help from Mumbo Jumbo).