Test-and-set with wire network?
Posted: Thu Nov 28, 2024 8:26 pm
I have some circuit logic, which generates a list of items with ones in them (say, 1 iron, 1 iron gears, 1 green circuits).
I have a wire network, which I want to be the result of wiring together multiples of the first network, where each member:
I have a wire network, which I want to be the result of wiring together multiples of the first network, where each member:
- Checks the network
- Adds one item to the network from their list if the network is empty
- Adds to the network if an item in the network matches theirs
- does nothing otherwise