A fun day, this involved mapping a beam of light through a pattern and it was quite neat. My stack implementation came in handy and made things much easier. I did cheat in that I let the loop run for a ton of runs and just waited until the answer stabilized. I didn't logic out how to end the run.
I think my biggest pain point is the graph stuff and it doesn't help that I'm doing it in BASIC. I think I need to learn how graph algorithms work and how to implement them in a language like BASIC. This could be a fun little detour.
I only finished part 1 and even that took awhile so I'll leave it at that for now.