Skip to main content

bump_octopus

Function bump_octopus 

Source
fn bump_octopus(grid: &mut [u8], todo: &mut Vec<usize>, index: usize)
Expand description

Increments an octopus’s energy. If it reaches 10, it flashes and is added to the queue.