I do some gaming with my iMac, but it's FAR from one of my priorities. I don't have any problems and for me, the performance is great.
Plus, the 95+ percent of the time I'm not gaming, I have a big, beautiful screen to use. You won't be disappointed.
If gaming is really high on your priority list, you might actually explore a gaming PC and spend a little less than a Mac Pro.