Playing with the accelerometer