The Black Box as a Control for Payoff-Based Learning in Economic Games