AND | OR | NOT | Input | Output |
I started working on the "run" function. this function shows the result of every gate based on the input value. The run function should start looking for all the input gates first than it should move from one gate to the next one until it reach the output gate. In my code, I'm using the Javescript function "settimeout()" to delay the process so the user can easily flow the result of every gate.