예제 #1
0
 protected override void LoadState()
 {
     particleSystem = new(ParsedFileLines(EnchantmentRule.Parse));
     expanded5 ??= particleSystem.Expand(PixelGrid.StartingGrid, 5);
 }
예제 #2
0
 public override int SolvePart2()
 {
     // Is it just me or does that one take too long?
     return(particleSystem.Expand(expanded5, 18 - 5).ValueCounters[PixelState.On]);
 }