1. Open https://lightsaber.withgoogle.com/experience in Chrome (I didn’t try IE)
  2. Open the associated URL on your phone.
  3. Use your phone as a Light Saber to defeat enemies! Swipe your phone to control the sword.

Here are the techniques behind the game: https://developers.google.com/web/showcase/case-study/lightsaber