Below is a gallery of StateMachine examples.
StateMachine
Enum campaign machine
Order control machine
Reusing transitions
Persistent domain model
Order control machine (rich model)
Guess the number machine
All actions machine