Game engines are software frameworks for game development. Game engines do the heavy lifting for developers so they can focus on other aspects of game development.
A finite-state machine (FSM), finite-state automaton (FSA), or simply state machine is a mathematical model of computation and an abstract machine that can be in exactly one of a finite number of ...