MDN's Detecting Device Orientation demo modified to implement a game
made in ECE5
Hit "Reset" to initialize the game. "Start/STOP" to resume/pause the game at a frame.
Hit "Reset" whenever you want to reset everything to initial states.
Hold the device parallel to the ground. Tilt along its x and y axes to see the
paddle move up/down and left/right respectively.