![]() ![]() Npm run build - everything is build, the player can change their arena to look at the specific /dist/arena* directory Run npm run build to generate all arenas to /dist/* Open the folder in your terminal and run your package manager to install the required packages and TypeScript declaration files:įire up your preferred editor with typescript installed and you are good to go!Īrenas are located in src/arena_*any folder you create in src with a name starting with arena_ will result in a main.mjs in the dist/arena_* folder. Rollup CLI (Optional, install via npm install -g rollup).The initial example code from the steam forum is included in src/alpha-capture_the_flag/main.ts Basic Usage It provides everything you need to start writing your AI whilst leaving main.ts as empty as possible. Screeps Arena Typescript Starter is a starting point for a Screeps Arena AI written in Typescript. Use named functions where possible for a better debug experience when errors do occur.require is undefined and there doesn't appear to be a way to load the source map.Unable to resolve path to module 'game' (.eslintimport/no-unresolved). ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |