Same CSS-rotate + cardinal gravity as the original — but it only turns when the ball stalls or the goal is uphill.
Smart spin maze.