Nadvent of Code - 2022 Day 23

https://dartpad.dev/?id=5c5cc4b78c1b541159db97f34a5b389a

As a warmup for this year's Advent of Code, I'm re-reading and posting my solutions to last year's challenges. You can read, run and edit today's solution by following the post link.

Today was a kinda variant of Conway's Game of Life: we had to move elves around according to a set of rules while avoiding collisions and observe the size of the bounding box after 10 rounds. Part 2 asked us to run until the pattern stagnated. Nothing clever in my solution as most of the challenge seemed to be in understanding the rules correctly :-)

3 points · 0 comments · view on lemmy.world

0 Comments

No comments yet.