initialized index for fallingBricks game