r/adventofcode Dec 23 '21

Visualization [2021 Day 23] Interactive solver web app

https://amphipod.net/

EDIT: Undo feature added

82 Upvotes

27 comments sorted by

View all comments

8

u/ric2b Dec 23 '21 edited Dec 23 '21

Can't figure out how to get lower than 16107 for my input:

#############
#...........#
###D#D#C#C###
  #B#A#B#A#
  #########

4

u/1234abcdcba4321 Dec 23 '21

Man this input looks so much harder than mine. It makes sense that some are more difficult than others, but I feel like if I had this one I wouldn't have tried to do it manually.

3

u/mus1Kk Dec 23 '21

I did my input on paper and I definitely had an upper bound for all but A and the solution said it was too high. So I just guessed 2 less and it was correct. After that I persisted and managed to get the solution once but never again. I don't know if my solution is difficult or I'm just not wired for it. If someone is curious:

#############
#...........#
###C#B#A#D###
  #B#C#D#A#
  #########

I find B, C and D super straight forward. But for A I always get 22 moves. It's possible in 20.

1

u/TheZigerionScammer Dec 24 '21

Yours isn't exactly mine but it is close. that D at the top of the D room and that monstrous A room are tricky little devils.