Well, out of those 2 choices I would go with the AMD 8320. Both of these CPUs are similar in performance, with the i5 only being slightly better than the AMD in single core performance. But you can overclock the AMD, where you cant overclock the i5. So it seems that for gaming as well as work purposes, the AMD build will be better suited for your needs.