How did he do it?

Hi guys!
About two months ago I started to develop games for android. Just two days ago stumbled upon application Lightsaber Training 3D. Please tell me how it has a function of turning aksilerometrom.
https://play.google.com/store/apps/details?id=com.KinGame.LightsaberTraining3D&hl=ru

Sensors Overview | Android Developers

Current Version Plugin Google Update

I think you need to get serious training if you really wanna develop such apps.