Skip to main content

AI Case Study: Develop a Maze Action Game

  • Chapter
  • First Online:
Learn JavaFX Game and App Development
  • 680 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics