Skip to content

ScreepsAI/screeps

Repository files navigation

Screeps AI

AI for the game screeps.com.

Config

配置 ./config/config.example.json 并另存为 config.json

{
  "email": "private server only",
  "password": "private server only",
  "serverPassword": "private server only",
  "token": "account token",
  "serverUrl": "https://screeps.com",
  "branch": "dev",
  "winPath": "local path on windows",
  "macPath": "local path on mac"
}

Dev

# 本地服务器测试
$ yarn start

# 官方服务器测试
$ yarn start:remote

# 打包上传至官方服务器
$ yarn build

# 生成API文档
$ yarn doc

Third Party Tools

Docs Link