HenryWilder / passion-projects

Electron Architect - A program made for simulating circuits. Originally inspired by wanting to make a low-overhead Minecraft Redstone.
GNU Affero General Public License v3.0
3 stars 0 forks source link

DFS battery activation #28

Open HenryWilder opened 2 years ago

HenryWilder commented 2 years ago

It might be completely stupid and not worth the effort at ALL, but it might be nice if batteries would use DFS to determine whether a given route connects to a battery both on the input and output sides (they don't have to be the same battery). The part where it's probably stupid is that then every node would need to know whether its particular branch connects back to a battery, rather than having the battery alone know whether a route outputs to a battery.

HenryWilder commented 2 years ago

Attempted yesterday. I'm scared to touch it because it caused a large number of crashes and bluescreened my PC...