• Stars
    star
    157
  • Rank 237,077 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 8 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Starter Python AI for screeps, the JavaScript MMO game

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 :).

More Repositories

1

fern

Simple, efficient logging for Rust
Rust
831
star
2

rust-throw

Compile time stack traces for Rust errors (no backtrace!)
Rust
75
star
3

screeps-rs

Work in progress native Screeps client.
Rust
30
star
4

serde-tuple-vec-map

Deserialize objects/maps into Vecs of key/value tuples.
Rust
18
star
5

rust-screeps-api

Rust library wrapping the https://screeps.com API
Rust
18
star
6

android_device_oneplus_dre9-twrp

WIP OnePlus Nord N200 5G NA-variant (codeword dre9) Device Tree for building Android 11 AOSP
Makefile
14
star
7

futures-example-2019

Example using Rust futures with async/await as of May 2019
Rust
11
star
8

wasm-wrapper-gen

JS->Rust binding generation for Rust compiled to Web Assembly (deprecated, use stdweb instead!)
Rust
9
star
9

srv

Terminal User Interface for the Screeps programming MMO
Rust
7
star
10

oneplus_dre8t_dre9_holi_notes

Personal notes on the OnePlus Nord N200 5G - codewords dre8t for T-Mobile edition, dre9 for NA edition, and sm4350 for SOC
5
star
11

zaldinar

Easily modable rust IRC bot
Rust
5
star
12

qxlc

Paste/link/image server written in Python 3 using Flask
Python
4
star
13

minecraft-commandline-interface

Command line minecraft client written in Java
Java
3
star
14

cardapio

Fork of cardapio (https://code.launchpad.net/cardapio)
Python
3
star
15

android_device_oneplus_holi_attempt1

Attempt 1 of TWRP android_device repository for the OnePlus Nord N200 5G (codeword holi)
C++
3
star
16

screeps-ai-v2

This is my second AI written for Screeps, active from July 2016 through October 2017
Python
2
star
17

RemoveGodItems

Bukkit plugin - Removes god items from player inventories
Java
2
star
18

screeps-warreport

Standalone python app to monitor battles happening in the programming game Screeps.
Python
2
star
19

MCScript

Bash script - Minecraft server management script
Shell
1
star
20

dotfiles

Some of my i3 config dotfiles!
Shell
1
star
21

mindjuice-rs

A simple and easy-to-use brainfuck interpreter, written for rust.
Rust
1
star
22

Eliralin

Eliralin patches for CloudBot - System based off of Spigot's patch system
Shell
1
star
23

bash-test-script

Test Script - Tests bash projects
Shell
1
star
24

screeps-pyconsole

Extremely simple python 3 screeps.com game console.
Python
1
star
25

simpler-conrod-example

Simplest conrod example I could come up with which doesn't cut performance corners
Rust
1
star
26

screeps-wasm-test

Rust WASM tests with the intention to use in Screeps
JavaScript
1
star
27

fern-macros-rs

Deprecated crate which used to accompany the 'fern' logging crate before Rust 1.0, and before fern 0.2.
Rust
1
star
28

PyPermissions

Python implementation of @SkyBirdSoar's RubyPerms
Python
1
star