I was wondering how I could improve the code for the video games that I am writing, and I came up with the idea of using design patterns. Design patter is a general reusable solution to a commonly occurring problem within a given context in software design.
I thought about creating a series of tutorials in which I explain how to configure some of the most popular design patterns used in video games. My idea is to publish tutorials on the following patterns:
- Abstract factory
I started with the abstract factory. This pattern is to provide an interface for creating families of related or dependent objects without specifying their concrete class.
You can find more info in the here