screeps-starter-python
1.0.0
1.0.0
  • Introduction
  • Logistics
    • Setup
    • Upgrading Transcrypt
  • Screeps API Usage
    • Constants
    • Optional Arguments
    • Objects - Basic Interaction
    • Objects - Creation and the Keyword "new"
  • Features
    • Console Commands
  • Lodash
    • Introduction
    • As Arguments to API Methods
  • Syntax Changes
    • Summary
    • in Opperator
    • List Behavior
    • del Operator
    • dict Iteration
Powered by GitBook
On this page
  • Install
  • Docs
  • Community

Was this helpful?

Introduction

NextSetup

Last updated 4 years ago

Was this helpful?

This repository is a starter Python AI written for the JavaScript based MMO game, .

While code uploaded to the server must be in JavaScript, this repository is written in Python. We use the transpiler to transpile the python programming into JavaScript.

Specifically, it uses built with intended to reduce the overhead of running Python in the Screeps environment. Nothing against Transcrypt itself, and you're free to change the installed fork my modifying requirements.txt! I've just found a few changes useful that I've tested in node.js and the screeps environment, but that I don't have time to generalize enough to include in the main transcrypt codebase.

This repository is intended as a base to be used for building more complex AIs, and has all the tooling needed to transpile Python into JavaScript set up.

Install

To get started, check out the .

Docs

For a documentation index, see , and for the main differences between Python and Transcrypt-flavored-Python, see .

Community

Join us on the ! We're in (though you need to sign up with the first link first :).

screeps
Transcrypt
my fork of transcrypt
a few modifications
Setup Guide
The Book
Syntax Changes
Screeps Slack
#python