Package fsm provides a simple finite state machine intended for game development.