Guide-linked quiz · Medium Level

AI in Video Game NPC Behavior Quiz

Test how A*, finite-state logic, GOAP, behavior trees, and dialogue models shape non-player character behavior in games.

Question 1 of 8

What technique is most commonly used for NPC pathfinding in games?

Preview every question8 questions

Answers and explanations appear as you take the quiz.

  1. What technique is most commonly used for NPC pathfinding in games?
    • The A* (A-star) search algorithm
    • Blockchain consensus
    • Convolutional neural networks
    • Quantum annealing
  2. Most traditional NPC enemy logic is built from what?
    • Large language models
    • Handcrafted finite state machines and behavior trees
    • Genetic algorithms
    • Speech recognition
  3. The game F.E.A.R. is famous for which AI technique?
    • Ray tracing
    • Procedural music
    • Goal-oriented action planning (GOAP)
    • Voice cloning
  4. Why is game AI often deliberately made less than fully optimal?
    • To save electricity
    • Because computers cannot do better
    • To reduce file size
    • To make the game feel fair and beatable rather than frustrating
  5. What is a key risk of using large language models to drive NPC dialogue?
    • Hallucinated lore and breaking the written narrative
    • NPCs becoming too quiet
    • Faster load times
    • Lower graphics quality
  6. How do behavior trees help designers?
    • They render 3D graphics
    • They compose simple actions into reusable, controllable hierarchical logic
    • They compress textures
    • They handle online matchmaking
  7. In A* pathfinding, what two values are combined to prioritize a search node?
    • The NPC's dialogue length and animation speed
    • The image resolution and audio sample rate
    • The cost so far and a heuristic estimate of remaining cost
    • The player's score and game difficulty setting
  8. What does GOAP let an NPC do at runtime?
    • Render a more detailed character texture
    • Transcribe player speech without a dialogue model
    • Generate every game level from a random seed
    • Plan a sequence of available actions to reach a goal state

Keep testing yourself

More quizzes picked for your level.

View all quizzes