Array

Hello, how can you make a two-dimensional array? This is my code

      for x = 1, 8 do
        wall[x] = {}
        for y = 1, 9 do
            walll[x][y] = Wall(x, y)
            end
        end

i want to make a floor tile

Yup, that’s pretty much the right way. A two-dimensional array is just an array of arrays.