adventofcode

Happy Advent 2020! Please put answers in the pinned threads or create one if it does not exist yet. | https://github.com/adventofcode-clojurians/adventofcode-clojurians | Join the private leaderboard with code 217019-4a55b8eb
cjmurphy 2017-01-03T03:59:13.000480Z

What helped me was to do as suggested in the question and make a visualization of the grid with \#. \. and \_. What worked for my data was to define \# as (>= (used node) 100). As suggested by @bhauman I made sure that when the wall was hit from below the only choice was to go left (have only one from position be created, rather than all surrounding from positions). @angusiguess: Your solution sounds like it will work and not require such an intimate knowledge of the structure of the grid. I'll test it out with my data now...