Which gaming PC is better between these 2 options?

Solution
I would say pick the Ryzen build, as the 580 is the equivalent of the 1070. However, if you are not rendering, editing or doing stuff of that matter I would pick the Intel. The best build out of the two would be the Intel i5 7400 with the 580 for gaming.
I would say pick the Ryzen build, as the 580 is the equivalent of the 1070. However, if you are not rendering, editing or doing stuff of that matter I would pick the Intel. The best build out of the two would be the Intel i5 7400 with the 580 for gaming.
 
Solution