For one of my classes in the second year of the study I worked on procedural city generation in Unity 3D. I made several building blocks that all fitted together and through code I generated buildings with random building blocks and random height.
By using a simple image I could spawn randomized cities. On every black pixel it spawned a building, white pixels nothing and on the red ones I spawned roads and sidewalks.
Through this project I learned some basic scripting.