For the majority of games, I would probably lean towards the i3-12100 or if you can stretch to the 12400 that would be ideal.
2700 has more threads, but much less single core performance. Certain heavily threaded games may perform better on it. And it will be a superior CPU for multitasking, such as streaming while gaming and the like.