Minecraft is a sandbox game where you explore and build in an infinity voxel world. In the game, there's a simple logic system called redstone which allows you to build contraptions from components like wires, buttons, pistons and lamps. Surprisingly, redstone is a Turing Complete system. This means that it can simulate any computable function. More simply, you can build a general computer out of redstone in Minecraft!
Logic gates are the most basic building blocks of any computer. They are simple components that preforms simple operations on incoming data and output a result. All the gates a computer needs can be built by chaining together Not Gates and Or Gates in complex ways. The way these components combine to form a computer are not specific to Minecraft and are explained in another article, Learn More....
A Not Gate inverts the signal it receives.
TODO: IMAGE
An Or Gate takes in many signals and outputs a signal if any of them are active. This is the easiest gate to create in minecraft. Since a redstone signal carries to all connected redstone dust, simply join all incoming signals on to one path. If any of them are active, it will activate the output wire.
TODO: IMAGE
TODO: IMAGE