Spyke
adventofcode·Advent of Codebymykl

Nadvent of Code - 2022 Day 23

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 :-)

https://dartpad.dev/?id=5c5cc4b78c1b541159db97f34a5b389aOpen linkView original on lemmy.world
No comments on the original post yet.
Nadvent of Code - 2022 Day 23 | Spyke