Click the green flag to generate tiles using a random tile design and color offset. Look inside to see how it works. And check out the original project, which has simpler code. Here is how you make tiles: https://scratch.mit.edu/projects/572028611/