#Finite-State-Machines
2 notas · última:
The State Pattern Exemplified
The article explains the State Pattern as a way to encapsulate an object's internal state, model finite state machines, and keep transition logic out of the context class, using a toaster implemented in TypeScript.
Introduction to AI Programming for Games
The tutorial shows how to add game AI with simple decision logic, steering behaviors like seek, arrive, and separate, and a finite state machine that changes strategy.
