Hey, I thought it did a pretty good job. Code: when green flag clicked delete all of [grid v] set [gridSize v] to [5] // Change to make the grid bigger or smaller set [tileSize v] to [40] // Adjust tile size if needed set [startX v] to ((-1) * (gridSize) * (tileSize) / (2)) set [startY v] to ((gridSize) * (tileSize) / (2)) // Create the grid (lists) repeat (gridSize) add (list ()) to [grid v] // Add a row end // Fill the grid with random rooms (1) or empty (0) set [row v] to [1] repeat (gridSize) set [col v] to [1] repeat (gridSize) replace item (row) of [grid v] with (join (item (row) of [grid v]) (pick random [0] to [1])) change [col v] by [1] end change [row v] by [1] end // Place the tiles set [row v] to [1] repeat (gridSize) set [col v] to [1] repeat (gridSize) set [x v] to ((startX) + ((col) * (tileSize)) - (tileSize / 2)) set [y v] to ((startY) - ((row) * (tileSize)) + (tileSize / 2)) if (letter (col) of (item (row) of [grid v])) = [1] then create clone of [Room v] go to x: (x) y: (y) else create clone of [Wall v] go to x: (x) y: (y) end change [col v] by [1] end change [row v] by [1] end (I fixed the size of the tiles)
I give it an 8/10, since it works, but could have a little bit more depth to it. Overall, pretty good job from Gemini.