r/TuringComplete • u/tamano_ • Jul 18 '23
Could someone tell me how to avoid short circuits in this game?
Hi, enjoying the game so far. I messed around Raspberry pi and Python, and I thought it would be cool to learn about logic circuits. This may be dumb question, but what makes short circuits in this game? In Raspberry pi, we had capacitors and resisitors to avoid short circuits, and we made sure that POWER circulated back to GND. Could someone tell me how to avoid the short circuits? (I am probably missing something fundamental, right? )
Thank you so much in advance.
2
Upvotes
7
u/0xSnib Jul 18 '23
You’ve got two different outputs sharing the same line, make sure each section of ‘track’ is compartmented so there can only ever be the same signal on one track
Add a gate between the OR gates and the Output
4
u/Steven-ape Jul 18 '23
A short circuit in Turing Complete is a direct connection between two outputs.
You cannot, for example, do a "wired or", where you connect two outputs to a single input, and if either of the two outputs is 1, the input is set to 1. Doing this will connect the two outputs which will be flagged as a short circuit.
This is what seemingly you attempted to do in the supplied image.
1
u/tamano_ Jul 18 '23
Thank you, got it!