Galton box animation: Difference between revisions
Content added Content deleted
m (Replaced on "proc" by a "func".) |
|||
Line 2,367: | Line 2,367: | ||
func newBall(box: var Box; x, y: int): Ball = |
|||
doAssert box[y][x] == cEmpty, "Tried to create a new ball in a non-empty cell" |
doAssert box[y][x] == cEmpty, "Tried to create a new ball in a non-empty cell" |