for $x ( 0 .. $width ) { for $y (0 .. $height) { $self->{grid}[$x][$y] = 0; } }