Skip to content

daboross/screeps-starter-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5aedf35 · Jun 10, 2022

History

88 Commits
Jan 9, 2021
Feb 26, 2018
Aug 2, 2020
Dec 27, 2020
Dec 23, 2016
Jan 2, 2021
Feb 26, 2018
Jan 2, 2021
Oct 21, 2018
May 10, 2018
Jan 2, 2018
Jan 2, 2021
Jun 2, 2022

Repository files navigation

screeps-starter-python

MIT licensed Slack Chat Docs Built

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

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

Specifically, it uses my fork of transcrypt built with a few modifications 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 Setup Guide.

Docs

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

Community

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

About

Starter Python AI for screeps, the JavaScript MMO game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages