Jakub Gwóźdź
12/09/2022, 6:34 AMJakub Gwóźdź
12/09/2022, 6:36 AM......
....H.
....1.
.432..
5.....
is
....H.
....1.
..432.
.5....
6.....
and not
.....H.
.....1.
....2..
..43...
.5.....
? Why it’s not enough to move just 2
up?Cognitive Gear
12/09/2022, 6:38 AMCognitive Gear
12/09/2022, 6:38 AMrkechols
12/09/2022, 6:39 AMJakub Gwóźdź
12/09/2022, 6:42 AMGrzegorz Aniol
12/09/2022, 9:35 AMJakub Gwóźdź
12/09/2022, 9:41 AMH
goes up, then 1
follows and “disconnects” from 2
.
So 2
needs to follow as well.
In my solution, that worked for part 1, the next knot just entered the place previously occupied by the preceding knot. That was wrong for part 2. Then I thought “if it disconnects it should follow the movement of preceding knot”, that was wrong too.
Correct solution is “if it disconnects, it should move towards new position of preceding knot”corneil
12/09/2022, 11:54 AMCharles Flynn
12/09/2022, 12:31 PMCharles Flynn
12/09/2022, 12:33 PMthe tail always moves one step diagonally to keep up
covers itephemient
12/09/2022, 1:03 PMHowever, be careful: more types of motion are possible than beforewarning in the text. too bad I didn't see it until after I discovered the issue myself 😅
Charles Flynn
12/09/2022, 1:32 PMAnirudh
12/09/2022, 1:41 PMritesh
12/10/2022, 9:14 AMcorneil
12/10/2022, 9:15 AMritesh
12/10/2022, 9:58 AMritesh
12/10/2022, 12:35 PMcorneil
12/10/2022, 12:38 PMcorneil
12/10/2022, 12:39 PMritesh
12/10/2022, 12:40 PM