Explore essential concepts and the historical development of artificial intelligence in games with this focused quiz. Assess your grasp of foundational Game AI techniques, key milestones, and their practical applications in virtual environments.
Which of the following best describes the core purpose of artificial intelligence in video games?
Explanation: The main role of Game AI is to design behaviors that make NPCs seem intelligent and capable of responding dynamically to player actions. Improving network connectivity is related to online infrastructure, not AI logic. Graphics and visual effects focus on visuals, while data encryption is a security concern, not directly related to AI behavior in games.
Which early AI technique, often used in classic arcade games like Pac-Man, involves decision trees for non-player actions?
Explanation: Finite State Machines (FSMs) represent AI logic as different states, with transitions based on input or conditions—commonly used for classic game characters. Neural networks and genetic algorithms are more advanced and compute-heavy, emerging later. Pathtracing is unrelated to AI, being a rendering technique for lighting and visuals.
Which event marked a significant milestone in public awareness of artificial intelligence’s potential in gaming, featuring a computer program that defeated a human champion?
Explanation: The world took notice when a computer program beat a top chess player, showcasing AI’s strategic planning and decision-making power. While rendering 3D graphics is technologically impressive, it is unrelated to AI. Procedural generation involves algorithms for content creation, not intelligence. Massive online matches highlight scalability, not AI capabilities.
Which algorithm is most commonly used in video games for efficient shortest-path navigation of NPCs around obstacles, such as guiding a guard to chase a player?
Explanation: A* (A-star) is a well-known pathfinding algorithm enabling NPCs to efficiently navigate around barriers and reach goals, a staple in game development. Bubble Sort is solely a sorting method, and Gradient Descent is used for optimization in machine learning, not navigation. Bitmasking is a data representation technique, not related to pathfinding.
How do behavior trees, an AI architecture used in many modern games, improve upon simple state machines when controlling complex NPC behavior?
Explanation: Behavior trees organize decisions hierarchically, making NPC behaviors easier to structure, manage, and expand, especially for complex or layered actions. Randomly assigning actions does not help create intelligent agents. Using less memory at the cost of complexity is not a key feature, and disabling adaptability contradicts the flexibility that behavior trees specifically provide.