Artificial intelligence (AI) is an integral ingredient of every computer game. Artificial Intelligence for Games helps game programmers meet the constantly evolving technological advancements in the fast-growing game industry and equips students with the up-to-date information they need to jumpstart their careers. This completely revised and updated 2e includes new techniques, algorithms, data structures, and representations needed to create powerful AI in computer games. The companion website includes downloadable and executable source code that will be regularly updated by the authors.