If you want dedicated gaming, run away from an iMac, if you want a Mac and want to game a little on the side then an iMac is alright, you should be able to run most new games on med-high with the 6770M-6970M.
A lot of games aren't on the Mac either, so you'll need a copy of Windows 7