Scratch is an interpreted dynamic visual programming language. It has the goal of teaching programming concepts to kids and teens and letting them create games, videos, and music. It can be downloaded for free and is being used at home and in a wide variety of in-school and after-school settings around the world.
The Scratch Sensor uses the Scratch networking protocol to send the smartphone accelerometer and compass sensor information and broadcast two states (jump and walk) to Scratch.
Fonte e mais detalhes aqui.