Generally when gaming (most situations) the i3 4150/4160 is going to do better than the FX 6300. Now there will situations where the FX 6300 (not usually gaming) will be a bit better than the i3, but generally the i3 will be a good option to consider.
The difference between the i3 4150 (3.5 gHz) and the i3 4160 (3.6 gHz) is only the clock speed.