Games that are made to target devices that run iOS or Android can also connect to one of two leaderboard and achievement API's. For iOS you have the iTunes Game Center, and for Android you can use the Amazon Game Circle or Google Play, with all of them using the using the functions found on this page. These functions permit your game to send information on scores and achievements to the leaderboards that you have set up in the Developers Account for the game you are making and is an excellent way to get players involved in the social side of gaming as they can then see what other people who have played your game have achieved and try to better them.
NOTE: For these functions to work with iOS you must have a valid Game Center account and an iOS app id for your game.
NOTE: For these functions to work with Android you must submit your game to the Amazon App store, or to Google Play, and have set up the necessary sections as well as have the API activated in the Android Game Options for your game.
The functions listed below are the basic ones used for integrating your game with the chosen target social gaming platform: