Games, Markets, and Online Learning