I'd guess that the 8400 is better for gaming as Intel has been claiming that the coffeelake update does much more work per clock cycle. Also in a cores vs threads thing, there is no contest that cores do work and all a thread does is stage it. Not that many games use more than 1-2 cores, but in theory 6 is better than 4.