Screeps Autonomous Framework is a starter kit for developing your own Screeps bot with TypeScript.
Begin your Screeps bot development journey with this minimal, well-structured framework, offering a solid foundation for you to innovate and implement your unique strategies.
Make sure you have Node.js (LTS) installed on your system.
- Clone the source code or download and extract it.
- Navigate to the project folder in your terminal.
- Run
npm install
to install dependencies.
Use the NPM scripts as aliases for Rollup commands to simplify the build and upload process.
- Configure your Screeps server destinations.
- Rename
screeps.sample.json
toscreeps.json
. - Update
screeps.json
with your Screeps credentials.
- Rename
- Use the NPM scripts in
package.json
as aliases for Rollup commands.npm run build
will compile but not upload.npm run push-main
will compile and upload to the "main" destination inscreeps.json
.
Note: For uploading code to a private server, you must create your username and password on the server with the help of screepsmod-auth.
Special thanks to @kasami for inspiring this project with the original KasamiBot.