JavaScript ECMAScript6 logic gates (AND, OR, NOT, XOR) using Conway's Game of Life
git clone https://github.com/jayalbo/GoLGates.js.git
<script src="baseGOL.js"></script>
<script src="logicGates.js"></script>
<script type="text/javascript src="baseGOL.js"></script>
<script type="text/javascript src="logicGates.js"></script>
golGates = new LOGICGates();
//AND Gate
golGates.andGate(1,1); //1
//OR Gate
golGates.orGate(1,0); //1
//NOT Gate
golGates.notGate(1); //0
//XOR Gate
golGates.xorGate(1,0); //1
Demo of a simple 8-bit calculator (adder) using GoLGates.js - Link
HTML/CSS by Andrew Creech