Unlocked Skylake/Kaby Lake i7 processors are better than Ryzen R7 processors currently due to two reasons. First of all, they're much more optimized to current games and programs. Second of all (this is important to games that make use of <4 cores), they have superior IPC.
Ryzen's IPC I'd say is on par with Haswell. Broadwell, on average, is 5% better clock-for-clock.
Yes, Ryzen is weaker than Broadwell, which is weaker than Skylake/Kaby Lake (latter provides 0% IPC over former). Ryzen, however, is much cheaper than Broadwell.
Just needed to get that off my chest. As for the topic, the best gaming processor *right now* is the i7-7700k for games that mainly use <4 cores. For games that make use of more cores than that, the i7-6850k and the i7-6900k are better depending on how many cores/threads utilized. Ryzen will soon get optimized, and hang out there with Broadwell-E, but right now, it's inferior.