Algorithmic learning in games