You are essentially giving the computer a set of rules to create a level with.
Procedural generation is defined as a method of creating data via an algorithm instead of manually creating it. As you can imagine, building such a system can be quite complex to develop. Developers have often used procedural generation to offer infinite gameplay to a potential player, citing that the game is often never going to be the same from one play session to the next. It’s still in use today, serving as a major aspect in newer games like Minecraft and Darkest Dungeon. The practice of using procedural generation in games to create an infinite number of maps for the player to explore dates back all the way to the 1970s with games like Akalabeth: World of Doom and Rogue. Using Unity UI and C# to Create a Tic-Tac-Toe Game.Procedural Generation with Unity and C#.Introduction to Game Development with Unity and C#.