The first thing I started building was a city generator. After studying papers online, watching many videos and how Introversion software went about it, I built up an idea of what was needed and what I would avoid. I’m just one guy and my surname isn’t Delay so I kept it real simple. The road system is set to a grid so there are no curves or even diagonals in the city. Keeps all the maths simple.

There are many systems for producing a road system and many factors you can take into account. I ignored most of them mainly to keep the scope small and to keep complexity down. I settled on an incredibly simple algorithm to generate the road structure. It would essentially draw snake roads changing direction perpendicularly based on a seeded random generator. It would spend a lot of time retracing it’s steps to create city blocks. The outcome was pretty good with such a simple system and resembled something of a city.

Modifications to this included using multiple road iterations instead of just one so the road system flowed from the center. Otherwise there was a tendency to create linear city. I also randomly removed roads and modified others to make them alleys to keep it interesting. One final thing to implement will be to remove dead ends to improve gameplay later on. Dead ends are always frustrating unless you want to build a maze.