summaryrefslogtreecommitdiff
path: root/file-handler.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-08-25 18:42:49 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-08-25 18:42:49 +0100
commite6fc32ef086028b787d97797b464e172dfded76f (patch)
treea8c8593d88fb3060ac70bebcea81da703e602cf6 /file-handler.c
parent0d25b2b78e213df5beabf429b3ab4081b0ad0751 (diff)
downloadabelian-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