I just found out that one can code logic gates using dominos! The ideas are here: https://www.youtube.com/watch?v=w6E7aQnA4Ws. In the video below, I code the AND gate, which outputs 1 only when both inputs are 1. With dominos, we code a 0 with standing dominos and a 1 with falling dominos. In the circuit below, 0 and 0 means that nothing moves, so the output is 0. The “short” input does not connect directly to the output, so when we press it, denoting a 1, the output will remain at 0. When we press the “long” input the dominos start falling around the long path, but they do not reach the output because at the same time an interrupt starts running and blocks the longer path. It is crucial that the long path is long enough for this strategy to work. Finally, when both the “short” and the “long” inputs are pressed, the long path starts running and the “short” input interrupts the interrupt allowing the long path to run all the way to the output, turning it into 1. See this in action below!