Accelerometer Labyrinth

As a summer internĀ at HAVAS Worldwide’s Innovation Lab, I was given the task to create a short and entertaining experience that people could connect to and control with their smartphones. I ended up developing an online version of the classic game Labyrinth that could be tilted and played with the accelerometers present in mobile devices. The rationale behind my choice was that, while mobile gaming is now a widespread practice, most of it involves interaction solely with the screen of the smartphone. I wanted to create an interaction where the physicality of the phone mattered more than the display, so that users could have an experience using their phones in an atypical and more active manner.

I learned and practiced several new technologies during the process of creating this game; the main game was coded in Javascript using the three.js library for visuals and the Physijs plugin for in-game physics. I used Spacebrew to manage websocket connections so that the smartphone could connect to the game, and used Javascript and Phonegap to write the appĀ that sent accelerometer data from the phone.

Although the game was built for (and functioned best with) control from mobile devices, the documentation above unfortunately only shows gameplay with keyboard controls.