[2023][ruby][10.x] one more comment

main
Alpha Chen 12 months ago
parent a3706096c3
commit ed02032839
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -84,6 +84,7 @@ p y_range.sum {|y|
a = loop_.fetch([y, x_a], nil)
b = loop_.fetch([y, x_b], nil)
# it's a chunk if it's multiple empty tiles or a pipe that goes east
(a.nil? && b.nil?) || (a && TILE_NEIGHBOR_DELTAS.fetch(a).include?([0,1]))
}.select {|chunk|
# keep empty tiles

Loading…
Cancel
Save