AI Case Study: Develop a Maze Action Game
Almas Baimagambetov · Apress eBooks · 2022
In this chapter, we are going to look at the AI basics: what it helps us achieve in games and how to implement a range of AI behaviors in FXGL. AI is one of the key areas of game development. Without it, most single-player games would be far less engaging and fun. AI is what gives NPCs and enemies quasi-informed decision-making abilities with the goal to entertain the player. More specifically, we, as game developers, should aim to make the AI sophisticated enough that it can match the player’s skill but shallow enough to give the player an invisible advantage. If designed and implemented well, such an AI agent will generate interesting and challenging interactions with the player but will know when to lose.