Tell me if it works fine for you or if you find something in the code that is wrong.
The .love file creates a grid and every tile in that grid has a 90%(ish) chance of being a box, instead it creates this pattern...
The orange boxes are love.math.random(), the blue boxes are the regular math.random().
This is what it looks like when I run it:
![Image](https://love2d.org/imgmirrur/uOZqcax.png)
![Image](https://love2d.org/imgmirrur/QhpRZzD.png)