Windows* 8 Sensors Sample Application – A Ball in Hole Game


The purpose of this sample application is to provide a step-by-step guide to quickly set up and start using sensor data via Windows* 8 Sensors application programming interfaces (APIs) on both Windows Desktop and Store application platforms. This guide has two sections. The first, SensorDesktopSample, is a Windows 8 Desktop application, and the second, SensorSampleApp, is a Windows Store app. Starting with Visual Studio* 2012 project templates, both applications implement a simple Ball in Hole game with the same logic for easy comparison. Refer to this link for more information on the differences between Windows Desktop and Windows Store Application Sensor APIs. The ball moves around the screen based on accelerometer readings, and the game ends once the ball is in the hole.

Download article

Windows* 8 Sensors Sample Application – A Ball in Hole Game Whitepaper

Download Source Code MB) MB)


Intel sample sources are provided to users under the Intel Sample Source Code License Agreement

For more complete information about compiler optimizations, see our Optimization Notice.

1 comment

souradeep-ghosh's picture

accelerometer measuring greater readings will have the ball in the hole more earlier.

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.