diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-08-25 18:42:49 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-08-25 18:42:49 +0100 |
commit | e6fc32ef086028b787d97797b464e172dfded76f (patch) | |
tree | a8c8593d88fb3060ac70bebcea81da703e602cf6 /file-handler.c | |
parent | 0d25b2b78e213df5beabf429b3ab4081b0ad0751 (diff) | |
download | abelian-sandpile-e6fc32ef086028b787d97797b464e172dfded76f.tar.gz abelian-sandpile-e6fc32ef086028b787d97797b464e172dfded76f.tar.bz2 abelian-sandpile-e6fc32ef086028b787d97797b464e172dfded76f.zip |
(main)+state data structure and iteration logic
Per iteration, increment the centre of the grid, and perform any
collapsing necessary (if >= 4 then sand pile "collapses" onto its
cardinal directions).
Diffstat (limited to 'file-handler.c')
0 files changed, 0 insertions, 0 deletions