Unit Sandpile

Classes

TPile - Max height and width for a sandpile

Functions

Types

PField
TField

Constants

ArrayXY

Variables


Functions


Types


PField = ^TField

TField = record
X : Integer;
Y : Integer;
end;
Used as queue element

Constants

ArrayXY = 255

The sandpile logic (representation and rules of pile

Variables