Introduction

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.

Get Unity 2018 Artificial Intelligence Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.