Refactored play analyzer