Exemplo n.º 1
0
 protected override void LoadState()
 {
     particleSystem = new(ParsedFileLines(EnchantmentRule.Parse));
     expanded5 ??= particleSystem.Expand(PixelGrid.StartingGrid, 5);
 }
Exemplo n.º 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]);
 }