sekkurocode / Cellular-Automata

Development of a python software, simulating "Cellular Automata".
MIT License
1 stars 0 forks source link

Improve nearest Neighbors check #11

Closed fabrice-eberle closed 5 months ago

fabrice-eberle commented 6 months ago

Replace the double if clause for neighboring check for a more efficient checking algorythm

fabrice-eberle commented 6 months ago

While testing the nearest neighbor check, i found the problem that the loop already overwrites the cell, so the board is simultanously checking neighbors it is alreay party going to the next generation. We need a temporary board where changes will be marked down on.

fabrice-eberle commented 6 months ago

Fixed the bug check issue 16