If you are mostly gaming and you'd like to futureproof your PC then an i7-7700k will do the trick for you for at least 2-3 years. If you want to go further, I'd suggest you going for the 8th/9th gen of Intel.
Also you can go for the ryzen, a higher tier like 2600+ if you are not bothered by the fact that it'll have less FPS than the i7 ONLY in games. Both options are great tho'.