Freezed
ff479a6fe2
1st idea was to manage propagation cells after cells. But this looks to generate a chain reaction that I cannot manage in a function. New idea is to manage the whole pile : * add a grain * find cells that reached 4 * change cell & update neighbors * find cells that reached 4 * change cell & update neighbors |
||
---|---|---|
.. | ||
sand_grain_drop.py |