Typescript bot for the Codingame Spring 2022 Challenge.
It's actually submitted as a Javascript bot, as the source code is transpiled and bundled into a single JS file and submitted via the CodinGame sync feature.
This repo was bootstrapped using the excellent codingame-ts-starter project.
Run either npm start
or npm run build
to generate the output file, then start the CodinGame Sync tool and choose to sync the dist/index.js
file.
npm start
: build your code in watch mode (it will automatically recompile on change). Note that in this mode code size optimizations are NOT performed, usenpm run build
for that.npm run build
: build your code once, with tree-shaking and minificationnpm run test
: run unit tests oncenpm run test:watch
: run unit tests in watch mode