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 installto 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.jsontoscreeps.json. - Update
screeps.jsonwith your Screeps credentials.
- Rename
- Use the NPM scripts in
package.jsonas aliases for Rollup commands.npm run buildwill compile but not upload.npm run push-mainwill 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.