Unable to load image

Advent of Code 2022 : Day 9

grate filter edition

:#marseycapyhacker:

17
Jump in the discussion.

No email address required.

Extremely tidied up version. Actual one for the first star I tracked the pre-move head position and set tail to it if non-adjacent post-move. Second star I exhaustively cased all 8 relative positions because however I did the absolute value math the first time didn't work and I didn't want to frick with it.

![](/images/16705667761155844.webp)

Jump in the discussion.

No email address required.



Now playing: Primal Rave (DKC2).mp3

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.