Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.29 KB

UseTypeScript.md

File metadata and controls

24 lines (15 loc) · 1.29 KB

Use TypeScript to play Screeps

Setup the Environment

Using the starter kit

  1. Clone the repository screepers/screeps-typescript-starter: Starter kit for TypeScript-based Screeps AI codes.
  2. Follow the direction to setup all the prerequisites
  3. Setup the API token of Screeps in the screeps.json then you're able to use rollup compile scripts
  4. Finally, use npm run push-main to deploy the scripts!

Beginner Setup from scratch

This is a step by step guide to setup Visual Studio Code for Screeps. It shows how to setup Visual Studio Code with TypeScript Declarations as the main editor for Screeps on a local server. It includes step by step screenshots and is intentionally aimed at beginners.