A simple tennis game using accelerometer and LEDs