Amazed

http://code.google.com/p/apps-for-android

The fun game Amazed demonstrates the use of a device’s built-in accelerometer to navigate a 2D marble through various obstacles inside increasingly difficult levels of a maze. If you’re interested in accelerometer-based applications, reviewing its Amazed source code can help you immensely. The application not only shows you how to use the accelerometer but also demonstrates other game development fundamentals, such as collision detection and the game loop principle.

Get Android Application Development For Dummies, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.