as a game performer intel core i tech wins
here you can see the performance differances between intel i3-i5 and amd fx 4170http://www.tomshardware.com/reviews/fx-4170-core-i3-3220-benchmarks,3314.html
also this is an nice guide to gaming performance hierarchy
if price is not an issue then i5 4670k is the best, the i3 would give you better gaming performance but even a locked i5 series would be better than the i3
for gaming the fx series especially pre vishera chips preform really poor, the reason is that most game are single threaded and fx series chips(amd in general) do really poorly
as a game performer intel core i tech wins
here you can see the performance differances between intel i3-i5 and amd fx 4170http://www.tomshardware.com/reviews/fx-4170-core-i3-3220-benchmarks,3314.html
also this is an nice guide to gaming performance hierarchy
if your talking using a dedicated graphics card then i series is the way to go. if you are talking about using the integrate graphics on the chip it self then amd apus are good. but you will get no where near the performace of dedicated cards.