screeps-ai

时间:2021-03-15 20:42:20
【文件属性】:
文件名称:screeps-ai
文件大小:234KB
文件格式:ZIP
更新时间:2021-03-15 20:42:20
TypeScript 爬行打字稿入门 Screeps Typescript Starter是用Typescript编写的Screeps AI的起点。 它提供了开始编写AI所需的一切,同时使main.ts尽可能地为空。 基本用法 你会需要: (10.x) 包管理器( 或 ) 汇总CLI(可选,通过npm install -g rollup ) 在下载最新的源并将其解压缩到文件夹中。 在终端中打开文件夹,然后运行包管理器以安装所需的包和TypeScript声明文件: # npm npm install # yarn yarn 用TypeScript启动您喜欢的编辑器,您就可以开始了! 汇总和代码上传 Screeps Typescript Starter使用汇总来编译您的打字稿并将其上载到screeps服务器。 将screeps.sample.json移动或复制到screeps.json并进行编辑,
【文件预览】:
screeps-ai-master
----screeps.sample.json(655B)
----.gitattributes(468B)
----rollup.config.js(825B)
----.eslintrc.js(3KB)
----src()
--------main.ts(470B)
--------utils()
--------constants.ts(1KB)
--------controllers()
--------config()
--------structures()
--------roles()
--------types.d.ts(3KB)
--------globals.ts(1KB)
----.vscode()
--------settings.json(715B)
----tsconfig.test.json(88B)
----CONTRIBUTING.md(1KB)
----tsconfig.json(404B)
----LICENSE(1KB)
----test()
--------integration()
--------setup-mocha.js(356B)
--------unit()
--------mocha.opts(207B)
----.prettierrc(156B)
----book.json(135B)
----README.md(3KB)
----docs()
--------getting-started()
--------SUMMARY.md(751B)
--------in-depth()
--------README.md(2KB)
--------.gitbook()
----.editorconfig(240B)
----.gitignore(1KB)
----package.json(2KB)
----.nvmrc(9B)

网友评论