MDN's Detecting Device Orientation demo modified to implement a game made in ECE5
This game has only been tested on the Brave browser on an iPhone 15
Works best on low power mode. Normal power mode is harder, but it is still beatable without cheating :)



"Init"ialize the game first.
"Start/STOP" to resume/pause the game at a frame.
Hit "Reset" to reset everything to initial states.
Hold the device parallel to the ground. Tilt along its lengthwise axis to see the
paddle move left/right.