Skip to content

Latest commit

 

History

History

controller-app

controller-app

This is the controller web app of the game implemented in Typescript using React. For further information, see README.md in the above folder and the general build instructions.

The app was bootstrapped with Create React App.

Usage

You first should orient yourself on the README.md in the above folder the general build instructions. However, if you want to test this web app in isolation from the other game components, you can follow these instructions.

We use yarn for managing dependencies and building the project.

  1. Build the controller client library at ../controller-client-lib.
  2. Build the sensor input library at ../sensor-input-lib.
  3. Install dependencies: yarn install
  4. Update the dependency on the local libraries:
    yarn upgrade ../controller-client-lib
    yarn upgrade ../sensor-input-lib
  5. Either start the web app for development with
    yarn start
    or produce a production build with
    yarn build

When resuming development at a later point in time, you can omit the first 4 steps after having them executed at least once the first time. However, if you change one of the local libs, you have to run the first 4 steps again.