This is a JavaScript cross-platform mobile game. Accelerometers' data is used to detect tilting movements of the phone, when the user wants to move the paddle to the left or right.
https://devweb2018.cis.strath.ac.uk/~gfb16165/breakout_game/index.html