I'm using an online circuit simulator found here.
When I have a single path through both LEDs, they each illuminate:
However, when I add a wire to create a cycle, one of the LEDs loses power:
Why does this happen? If I were to write my own simulator, I would check to see if a particular path leads to ground. If it leads to ground, it gets power, if doesn't lead to ground, it doesn't complete the circuit and doesn't get power.
In this case, I would say both paths lead to ground, and thus they should both get power. I thought the simulation might be correct if "electricity takes the path of least resistance".
But then I read that this is not true.
Is the simulation correct?
Would only one LED light up in real life?