Yes, CPU affects gaming performance, but it depends on the game how much it would involve. Some games such as FPS ( first-person shooters) and the racing games dependant and the CPU has a minor impact. Some PC hardware sites have maintained their CPUs have little effect on gaming performance, but all you need is a decent gaming GPU. FPS averages highly support that position, but the FPS metric doesn't tell the whole story. AMD Ryzen 7 3700x is one of the CPU who gives excellent FPS performance.