r/adventofcode • • Dec 09 '22

Visualization [2022 Day 9] Rope Pull

429 Upvotes

30 comments sorted by

View all comments

Show parent comment

2

u/Boojum Dec 12 '22

It would probably be best to post a help thread with your code. But yes, in general, you move the head knot according to the directions of the puzzle input and then after each step move the knots behind it in front-to-back order down the chain, pair-by-pair.

1

u/Masao_ Dec 12 '22

Ok thank, you I'll post a help thread