Glossary

[Ch 27, Q1]

Short Question: Describe a finite state machine (FSM) for a basic patrol-chase-attack enemy. Name the states, the transitions, and at least two conditions that cause transitions. Answer: States: IDLE, PATROL, CHASE, ATTACK, RETREAT (or a subset). Transitions: IDLE→PATROL on timer; PATROL→CHASE on pl

Learn More

Related Terms