How much a store pays for a video game depends on three main factors: how old the game is, which store you're selling to, and the game itself.
For instance, a currently popular title like Modern Warfare 2 will fetch more than an older release such as Call of Duty 2. Demand and condition play a big role in the price you're offered.
One word of caution: major chain stores are notorious for lowballing trade-ins. If you want to maximize your profit, consider selling it yourself through a marketplace like Amazon rather than trading it in.