Skip to content

Claude-Ray/screeps-arena-mini-boilerplate-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screeps Arena TypeScript Mini Boilerplate

Usage

Installation

For the first time.

npm i

For a clean update.

npm run reinstall

Build

npm run build

Input & Output

All the source code files are located in src/arenas/.

src
├── arenas
│   ├── alpha-capture_the_flag
│   │   └── main.ts
│   ├── alpha-collect_and_control
│   │   └── main.ts
│   └── alpha-spawn_and_swamp
│       └── main.ts
└── common
    └── index.ts

The target code will be output to the dist/ directory after running build.

dist
├── alpha-capture_the_flag
│   └── main.mjs
├── alpha-collect_and_control
│   └── main.mjs
└── alpha-spawn_and_swamp
    └── main.mjs

Recipes

  • auto-completion: typed-screeps-arena is still WIP. Sometimes it’s buggy, then you need to lock the version to #commit instead of the branch #develop.
  • bundler: rollup.
  • linter: Use tslint instead of eslint since tide is not fully support eslint.

See also

About

ScreepsArena TypeScript Playground Template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published