Introduction to artificial intelligence

Artificial intelligence (AI) is an extensive topic, even if we limit ourselves just to video games. In fact, due to its complexity, it's one of the hardest parts to program for a video game. A good AI programmer should have knowledge of math (such as graph theory, Bayesian networks, operational research, and so on), physics (such as the motion equations) and psychology (to understand how the player reacts to AI in the game). Whereas the first two are well known, the last one is sometimes neglected, but is just as equally important. In fact, sometimes the most believable behavior of an NPC character is not the most enjoyable for the player. If you are interested in learning more, I wrote an article that you ...

Get Getting Started with Unity 5.x 2D Game Development 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.