Screeps Typescript Starter is a starting point for a Screeps AI written in Typescript. It provides everything you need to start writing your AI whilst leaving main.ts
as empty as possible.
Over the past few months, we've felt that the TypeScript starter needed a lot of work. We were starting to realise that it had become too opinionated and was making too many decisions regarding AI design.
The new version does away with all this and only provides only the code and tools necessary to base your TypeScript AI off of. This means you'll spend far less time configuring the starter kit, and more time actually writing your code.
We have swapped the bundler from Webpack to Rollup. Rollup is easier to configure and can be set up to do everything needed for Screeps. It also comes with various improvements over Webpack, which you can learn more about here.
We've also spent some time reworking the documentation from the ground-up, which is now generated through Gitbooks. Includes all the essentials to get you up and running with Screeps AI development in TypeScript, as well as various other tips and tricks to further improve your development workflow.
Maintaining the docs will also become a more community-focused effort, which means you too, can take part in improving the docs for this starter kit.
Download the latest source here, or clone this repo.
git clone https://github.com/screepers/screeps-typescript-starter.git
Extract it to a folder, and let's get started!