Action-value learning for n-armed bandits