All my code for Screeps.
There are much more mature Screeps codebases out there if you want an introduction to serious AI concepts and logic. But if you want to learn from the ground up like I'm doing, feel free to fork my codebase and use it as your own starting point.
🚨 Note: This is not intended to be a stable platform. I reserve the right to completely burn the whole thing down and start over. I've done it twice already 😀
- Install Node (see the Screeps documentation for which version to use)
- Clone the repository
- Run
npm install
- Copy
dist/username.js.example
todist/username.js
- Replace the example username in
dist/username.js
with your own Screeps username
The code doesn't need to be built, but you can autoformat the code using npm run build
. Autoformatting also happens before deploys.
- Copy
.screeps.json.example
to.screeps.json
- Add your own credentials to the
.screeps.json
file - Deploy any code changes with
npm run deploy
With the exception of dist/watch-client.js
, the code in this repository is available under the MIT license in this repository.
dist/watch-client.js
is used with permission under the license in screepers/screeps-multimeter
.