Ryzen 3 = Generally Better than i3 as Ryzen have 4 Cores
Ryzen 5 = Generally Better than i5 as Ryzen have 4 Core/8 Threads, or 6 cores/12 Threads
Ryzen 7 = Generally Better than i7 as Ryzen have 8 Cores/16 Threads
At any given price point by going AMD you will end up with more cores/threads than an equivalent price Intel chip.
On the other hand, you can argue that games don't necessarily use all the cores/threads available, in which case some of Intel's chips offer higher clock speed, and per core performance.