Early in the hackathon we had the idea of using EA's Pathfinder API to integrate node.js with Socket in order to stream accelerometer data from a phone to the web so that we could control a game with our phones.

What Is It

Potter League is a combination of Harry Potter-style Quidditch with the popular game, Rocket League. Players control characters from the Harry Potter universe and have to fly, defend, and bat the quaffle into the opponent's goal. By connecting through a server with their mobile phones, anyone can walk up and play, controlling their individual character.

How I built it

The backbone of Potter League is EA's Pathfinder API. Through this API, we are able to stream JSON data from a webpage to Unity. In our case, we stream accelerometer data from our phone to control characters in Unity.

Share this project: