finite state machines
Basically markov chains: you have a state, things that transition you from state to state, and a set of actions that are followed when you are in each state.
Basically markov chains: you have a state, things that transition you from state to state, and a set of actions that are followed when you are in each state.