Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Baimagambetov, A. (2022). AI Case Study: Develop a Maze Action Game. In: Learn JavaFX Game and App Development . Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-8625-8_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-8625-8_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-8624-1
Online ISBN: 978-1-4842-8625-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)