The developer determines this when they code the app and integrate iCloud/Gamecenter API.
Some developers implement, some dont. Some implement better than others.
Some games (Infinity Blade II/III, Cut the Rope, Reaper, Penumbear, Eufloria) work absolutely perfect. Others are buggy (Pocket Planes, Jetpack Joyride, Quell).