Logic Gates in JavaScript

Code, by Charles Petzold, is a fascinating look at building computers from the ground up. Starting in Chapter 11, it walks through creating logic gates. These can be used (amongst other things) to add numbers together. Read more

Similar