src-tauri- Contains Rust code to wrap Electron.js as an app via Tauri.srccomponents- React Componentspages-Queue,Runner,Gamepages, and moreplayback- Load up battlecode replay files (flatbuffers) into abstract game objectsutil- Various Utility Tools
To run the client locally:
npm ito install dependencies and prettiernpm run fix-schemato fixTS2307: Cannot find module 'flatbuffers' or its corresponding type declarations.npm run watchto run the web app.
To run the desktop version of the app which has access to the runner,
- Ensure that the rust compiler is installed
- Run
npm run tauri-watch, ornpm run electron-watchif the former doesn't work
Run npx prettier [file].tsx --write on any changed files to standardize the format.