A description of how movie watcher computations can be performed easily and elegantly with a three-state machine instead of a four-state machine in EECS 281 P2A: A New Heap.
Intended as a supplement to • Project 2A: Star Wars Tutorial , which halfway through introduces a four-state machine to accomplish the same thing.