/programming/general/control-methodology/a-function-pointer-based-state-machine/
/programming/design-patterns/state-machines/function-pointers/