Modern Engines take advantage of every cores usually.
Games are usually optimized for 4 cores max.
For example, i7-6700K (4 cores) perform better than i7-6950X (10 cores) in almost every modern game.
It's also quite likely that spreading out over more cores would be counterproductive. Many problems are not parallizeable indefinitely.
Large games will use all cores, our game uses 32 cores if you have them, we solved a bug because 1 guy had such a machine and reported an issue. 1 guy, from the public, and we fixed it the next update!
But no, developers don't care, we don't even like games! In fact, we hate games! Please don't enjoy our games!
[0] http://www.pcworld.com/article/3039552/hardware/tested-how-m...
[1] https://imgtec.com/blog/vulkan-scaling-to-multiple-threads/