This is a sample project that uses the Chrono Divide Game API. It can be used to develop and test AI bots for Chrono Divide] by running the game headless, in an isolated command-line environment. The API can create offline games between computer-controlled agents, or even online games, played in real-time versus human opponents.
- NodeJS 14+
- TypeScript 4.3.5+
- MIX files from an original RA2 installation
npm install
npm run build
npx cross-env MIX_DIR="C:\path_to_ra2_install_dir" npm start
npx cross-env MIX_DIR="C:\path_to_ra2_install_dir" npm --node-options="${NODE_OPTIONS} --inspect" start
- https://www.npmjs.com/package/@chronodivide/game-api - The Game API package on NPM
- https://github.com/Supalosa/supalosa-chronodivide-bot - A Chrono Divide bot implementation by Supalosa
- https://discord.gg/KCRPzQ6EEa - Dedicated channel on the Chrono Divide Discord server for bot development discussions