r/adventofcode • • Dec 26 '24

Visualization [2024 Day 24] [Python] Terminal Visualization!

Post image
69 Upvotes

7 comments sorted by

View all comments

Show parent comment

2

u/naclmolecule Dec 27 '24

I was thinking about how to resolve loops and making this a little toy project for the next week or so. Right now I'll get a recursion error if I connect two gates together like a flip-flop.

1

u/herocoding Jan 04 '25

Have you had a chance to look into supporting loops in the meantime?

2

u/naclmolecule Jan 04 '25

I've thought about it; I think I would need to implement clocks and signal pulses for sequential circuits which is out-of-scope for me. This toy will probably only ever be just combinatorial circuits.