Motion Control Wi-Fi Gaming Development Kit


The major project during my Undergrad, was Motion Control Wi-Fi Direct GDK (Game Development Kit). As the name suggests it is a development kit to develop games that can be controlled by the user’s smartphone i.e. the user’s smartphone acts as a gaming pad. The main idea that everyone cannot afford to buy a PS4 or Xbox, and with the increase in use of smart phones, the user can utilize their smart phone as a remote. Further, we extended this idea to make the user’s smart phone to act as a universal remote and can control all the electronic devices the user owns.

This application for mobile devices allows the user to control a game on another device wirelessly using the Wi-Fi Direct technology and uses motion sensors for maximum interaction. The advantage of Wi-Fi direct is the large range of connection it offers. It also achieves better transfer rates and wider range than Bluetooth with the use of Wi-Fi Direct. It operates on mobile devices with limited memory and computation resources. Additionally, the most important motivation for us to use Wi-Fi Direct is that it doesn’t need a Wi-Fi access point or network connection. We don’t need a static IP addresses and routers for the application.

This system has two modules.

  1. PEER DISCOVERY & Wi-Fi DIRECT CONNECTION MODULE
      This module is responsible for peer discovery and displays a list of all the devices available for connection in the network. This module actually establishes the connection between devices. These devices can be Android smartphones, tablet, laptop or personal computer.
  2. MESSAGE TRANSFER MODULE
      Once a connection is established between the two devices, client and server sockets are initiated. This module provides the functionalities for efficient communication with other device.

INTER APP COMMUNICATION FRAMEWORK
various android devices are available in the market. These devices has different hardware configuration. Inter App Communication framework masks this hardware heterogeneity. This framework has two distinct phase.

  1. Configuration Exchange Phase
      One device works as Universal Remote Gamepad App (URG) and other acts as Display Device (DD). URG device sends a GameRemoteConfig object to DDto tell the configuration of a device where URG is running. DD stores this information and sends WGDKConfig object to URG to list the features that are required to play particular game. After this phase both device are configured and ready to exchange data.
  1. Data Exchange Phase
      During this phase the both UGR and display devices exchanges data, and creates an unique gaming experience where the user uses the sensors of the smartphone to control an application on other connected device.

Games Developed with W-GDK Integration

Android application designed to be controlled by URG

Single player TETRIS JAVA applet designed using GDK, to be controlled by URG