Circles are symmetrical, so you only need to check the top left quadrant and then you can reflect those cells to the other three quadrants.
I also included the current cell in findCellsInCardinalRange because it's included in findCellsInRadialRange and it seems like it should be in range of itself.
I figured radial movement and vision — especially at higher values — would be pretty time intensive for the simulation, so I wanted to make it as efficient as possible. This should help out with #18.
findCellsInCardinalRange
because it's included infindCellsInRadialRange
and it seems like it should be in range of itself.I figured radial movement and vision — especially at higher values — would be pretty time intensive for the simulation, so I wanted to make it as efficient as possible. This should help out with #18.