This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Discussion thread for day 20 of the Advent of Code : https://adventofcode.com/2020/day/20
I really enjoyed Part 1 today. Part 2 is going to take a little longer though..... 🐍
Part 1 solution:
Like @Steph_Maddrell solved part 1 quickly. Part 2 I can get sample to work but something in my vast workflow doesn't work for it....
As it stands...
- Works out all the joins between tiles
- Works out all 8 versions of each tile
- Builds the grid layout (correct for sample at least)
- Creates the big jigsaw puzzle
That was a slog (not winning tool golf...) to get a solution out - Part 2 below:
Finally!
It's not pretty, but works (with some caveats)...
I spent way more time than I should have in this. Anything that involves having some type of "spatial vision" or rotating things in my mind I'm clueless.
My thought process on this one:
I also built more macros than I care...😅