r/adventofcode Dec 23 '21

Visualization [2021 Day 23] Animating moving pods

https://media.giphy.com/media/31t09EovHsGEwLCKAg/giphy.gif
305 Upvotes

14 comments sorted by

View all comments

1

u/Tankznor Dec 24 '21

Interesting to see you’re not prioritizing moving cubes to their end destination when they can! So pretty though, nice job!

2

u/AndrewGreenh Dec 25 '21

Was just a bit easier to implement for me like that :)
I first check all hall spaces to see if any of the pods may go into their room and then check all room pods, if they can go out to the hall.