Introduction The State Interface The StateMachine Interface A Simple Example A Complete Example with Messaging Divide and Conquer Limitations of State Machines Introduction Since the early days of video games finite state machines (FSM) are a common instrument to imbue a game agent with the illus...