Skip to content
Posture rehabilitation game for CP patients using ubiquitous smartphone sensors as input.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Human-Centered Assistive and Rehabilative Devices

Paolo Rüegg, Emma Lubel, Areg Nzsdejan, Alissa Parmenter, Harry Georgiou,

Department of Bioengineering, Mechanical Engineering & Dyson School of Design Engineering, Imperial College London

Space Race is a low-cost and easily accessible game that trains posture control and core strength. It is designed specifically for cerebral palsy patients, but can be used by anybody with access to a smartphone and computer. Rather than relying on complex mechatronic systems, SpaceRace uses the motion sensing capabilities in smartphones as a controller. The phone is attached to the player through a harness, which are available for around $20. The goal of the game is to collect collectables in different levels by steering a fox through tilt and lean movements.

Code Structure


Throughout our code we have endeavored to leave useful comments where suitable. In addition, the whole project is including background, aims and clinical relevance are discussed in the project report.

Repository Structure Tree

Note: This is a 'light' version of the project structure.

    ├── hcard_dev
    │   ├── Assets
    │   ├── Data
    │   ├── Library
    │   ├── Logs
    │   ├── Packages
    │   ├── ProjectSettings
    │   ├──
    └── server
        ├── app
        │   ├── app.js
        │   ├── node_modules
        │   ├── public
        │   │   ├── index.html
        │   │   ├── libs
        │   │   ├── settings.json
        │   │   └── sketch.js
        │   └──
        └── package-lock.json

System Overview

The Unity and mobile phone are both clients to a locally hosted webserver, as shown in the figure below. Sensor data informs both a mobile UI on the phone controller as well as the actual game.



Our source code is licensed under GNU General Public License v3.0

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

You can’t perform that action at this time.