Skip to content
Carson edited this page May 9, 2023 · 10 revisions

Prologue

Screeps World is an onion: it has layers, and lots of them. This guide is intended to unpeel the game's layers with care and information, allowing you to enjoy, understand and develop with the game as best as is possible.

This guide is best for those who have some experience with programming - in any language. It should work if you don't have any, but there is a lot to learn and implement, so if you get stuck at any time I recommend sticking with a more simple development setup.

The Very Beginning

Immediately when you start the game you'll want to play the tutorial. Try every one, reading over the code and understanding what it does. If you're new to programming or JavaScript, I strongly recommend MDN Docs as a resource for tutorials, syntax and language utilization. It's very thorough, especially compared to inadequate sources like W3Schools.

Anyways, once you have the tutorial complete you'll want to choose a language. JavaScript is the default one, and it works alright. Instead of JS however, I recommend TypeScript, a strongly typed language built on JS that transpiles to it cleanly, Besides JS, it is the best supported language by the community and developers. Rust is also a good option. From this point forward, I'll assume you're using TypeScript, however, this guide should still provide lots of useful information no matter what language you're using.

I recommend you check out the Using TypeScript section next, which will help you get set up to use the powerful language and tools the starter kit provides.

If you've decided you aren't using TypeScript, head to Using Git to setup your bot's repository

Clone this wiki locally