At 352 Media Group, I developed a die rolling game for iOS and Android. The client had developed Loyalty Dice, a PhoneGap application that worked like a loyalty card system. Instead of earning stars or points, the player earns dice that she can roll to win prizes. The client requested that we develop the component of the game that allows the user to shake the phone and roll an animated die across the screen, then relays the result of the roll back to the main application.
We delievered a standalone application along with source code that was integrated into the main Loyalty Dice application. The animation was adjusted as part of this process — the die is larger and no longer bounces around the screen — and the final product is available on the App Store and the Android Market.