Whenever you're ready, walk me through how you'd approach this.
How do you implement a state machine to handle complex system behaviors?