Press Green Flag Controls: Use the "wire +" button to toggle drawing wires for the current. Use the eraser button to erase the drawn lines. Place the AND/OR gates wherever you like. Click on the green switches on the gate to toggle on and off. Bright green switch= on [1] Dull green switch= off [0] Click the tick whenever you're ready. ___________________________________________ ✽ Click the green flag multiple times ✽ Make a COMPLETE (closed) circuit from the battery to the bulb's outlet. ✽ Please don't make too sharp turns, or improper wires because that'll "confuse" the current. ===================================== What are Logic Gates? A logic gate is a digital gate that allows data to be manipulated. Logic gates, use logic to determine whether or not to pass a signal. A logic gate can take two or more inputs but only produce one output. The output of a logic gate depends on the combination of inputs and the logical operation that the logic gate performs. →What is an AND gate? In digital electronics, the AND gate is one of the basic logic gate that performs the logical multiplication of inputs applied to it. It generates a high or logic 1 output, only when all the inputs applied to it are high or logic 1. Otherwise, the output of the AND gate is low or logic 0. Boolean Expression: Z=A.B →What is an OR gate? OR GATE is most widely used digital logic circuit. The output state of OR gate will be high i.e., (1) if any of the input state is high or 1, else output state will be low i.e., 0. Boolean Expression: Z= A+B from: https://www.geeksforgeeks.org/logic-gates/#what-is-a-logic-gate
CREDITS : @GreennWhite for original project Changes made by me ( @the_lost_genius ) : 1. Made the wire draw a bit more smoothly to reduce jagged lines (hopefully) 2. Slight Art changes 3. Modified the wire tracing code to be done using costumes instead of colour collision 4. Added the eraser button 5. Modified the Logic Gates code [inputs are now toggled on/off using clones instead of separate sprites, a list keeps tracks of the states, no need for extra variables] 6. Added the OR gate