← Back to all projects

AccelSnake: Gyro-Controlled Game

2011-2014
AndroidGame DevelopmentGyroscopeAccelerometerSensor FusionJavaLegacyAlgorithmsMobile Game

AccelSnake started as an experiment to solve a common frustration with tilt-controlled mobile games: the requirement to hold the device perfectly horizontal. I developed a custom gesture recognition algorithm that analyzed the history of gyroscope data to detect 'sway' impulses (acceleration followed by braking). This allowed the game to detect the intent to turn regardless of the device's static orientation relative to gravity.

Technically, the project is a snapshot of early Android development (Eclipse, Ant, no Fragments). In 2026, I performed a 'digital archaeology' operation, restoring the full commit history from a dormant Mercurial repository and preparing a modernization plan to migrate the codebase to Android Studio and Kotlin.

Media Gallery

AccelSnake: Gyro-Controlled Game media 1