Uploaded December 2020 | Updated November 2026, 3 hours ago
Are you having fun with cellular automata yet? I'm glad I wrote "summary.txt" last night so I knew what to look up for hex grids -- the answer is that this was 2017 day 11 all over again. I wrote lots of bugs in part 2, mostly because in my mind, black is 0 or false, and white is 1 or true, but my array had black as true. Surprised that tonight's wasn't a pathfinding problem -- we haven't had any of those yet this year.
Stick around tomorrow night for the exciting conclusion, where I talk about some of my favorite advent problems of years past!
Code: github.com/jwise/aoc/blob/master/2020/24.lua
#adventofcode
Are you having fun with cellular automata yet? I'm glad I wrote "summary.txt" last night so I knew what to look up for hex grids -- the answer is that this was 2017 day 11 all over again. I wrote lots of bugs in part 2, mostly because in my mind, black is 0 or false, and white is 1 or true, but my array had black as true. Surprised that tonight's wasn't a pathfinding problem -- we haven't had any of those yet this year.
Stick around tomorrow night for the exciting conclusion, where I talk about some of my favorite advent problems of years past!
Code: github.com/jwise/aoc/blob/master/2020/24.lua
#adventofcode










