Any i5 would work if it's Ivy Bridge or newer. (3xxx/4xxx)
If you are playing games that are heavily multithreaded and like lots more cores (might have to research a bit), look at an AMD FX 8320 and a nice cooler. You can overclock it to past the speeds of an 8350, which costs ~$50 more sometimes, with a halfways decent cooler, even a Hyper 212 Evo. I got mine for $130 as an unused open box item that turned out to be a dream overclocker. Overclocking an AMD chip is a great way to make the single threaded performance not suck so much compared to Haswell. Considering the price, I had to go for it. At that range I could only get an i3 from intel.
If you want to save loads of money and sacrifice some single threaded performance, go AMD. An FX 6300, which is the ultimate budget chip IMO, is only about $110 and should stomp an i3 multi threaded workloads. If you are looking to spend $200+, go Intel. If you're doing editing that likes MOAR CORES, go with an AMD 8 core. If you're on a serious budget, get an FX 6300 It really depends what you're doing! However, you can't really go wrong with either if you build a balanced system around the CPU. Intel is generally the response you will get from most people, but if you need AMD's features, give them a shot. I like and have owned both and it's not like one was miles above the other.
Whatever you do, just don't buy an i7 for gaming, trust me. You will see no gains.
EDIT: Holy cow I've been ninja'd again! (I guess I put too much into my posts..) I strangely echoed about everything JOOK-D said. He also brought up a lot of good points and you should definitely listen to what he has to say. I also agree to NEVER go with a bulldozer chip. Make dang sure it's piledriver. (63xx/83xx model)
If I were looking for a more "future proof" PC I would personally go AMD. Before you cry fanboy, I say this because games are being designed for 8 cores due to consoles having 8 cores, and many games are designed for consoles or with them in mind.