If there are 1000 rows and each row contains 32 bricks isn't that array[32,1000]?
oups, yes you're right. Sorry for the mystake.
This might be a bit too much for the Beginner's forum and I'm sure many people have written games which resemble you screenshots so there could be a simple answer
hope they also read this forum !