What's your math background. You can formalize what we're talking about with game theory. We're talking about stuff you'd learn in an introductory course. Economics courses discuss a lot of this at length too. But you should try to draw from both the applied econ side as the more theoretical math side. Least you get trapped by naive models, or at least not recognize their limitations.
CS and math should be a solid basis here. To be honest I don't remember at all where I picked this stuff up - a lot of it comes from random disjoint fields like optimization theory, graph theory, etc. which impinge on econ all the time, although I couldn't tell you a definitive book on the subject(s)