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.
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.
- Build the controller client library at ../controller-client-lib.
- Build the sensor input library at ../sensor-input-lib.
- Install dependencies:
yarn install
- Update the dependency on the local libraries:
yarn upgrade ../controller-client-lib yarn upgrade ../sensor-input-lib
- Either start the web app for development with
or produce a production build with
yarn start
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.