In this chapter, we will explore the field of machine learning. This is a very extensive and intrinsic field in which even AAA titles have a hard time, because of the amount of time that the techniques require to be tuned and experimented with.
However, the recipes that are contained in this chapter will give us a great head start in our endeavor to learn and apply machine learning techniques to our games. They are used in several different ways, but the one feature that they are most useful for is difficulty adjustment.
Finally, it is advised that you complement these recipes by reading more theoretical books on the subject, to gain in-depth insights that lie beyond the scope of this chapter.