Economic Analysis of Markets and Games