Gaming speed, cores and clocks
The Ryzen 5 2400 and the Core i7-6770K are within a few percent of each other for gaming. In a game, you will not see the difference.
The Ryzen 5 2400 has 4 cores and 8 threads, and the Core i7-6770K has 4 cores and 8 threads. Core counts are the same, so cache size and clock speed decide the difference. Boost clocks are 3.4 GHz and 3.9 GHz.