

#Screeps doc code
I don't have a real documentation as of now, but I tried to comment the code so that it should be easy to read and understand. You can check examples in the eponym folder to get started. Api will emit events using NodeJS standard event implementation.All functions return a promise based on ES6 implementation.The api is able to send HTTP requests and to connect to server socket for sending/recieving realtime events in the same way as the game GUI. Basic usage const API = require("screeps-js-api") Īpi.memory.get().then((memory) => console.log(JSON.stringify(memory))) Īpi.console.execute("console.log('Hello world!')") Īpi.code.push() Īpi.on('/console', (data) => console.log(JSON.stringify(data))) It comes with absolutely no warranty (but I'm opened to pull requests). An option to create your own local world and play with friends.This is a nodejs API for the game Screeps based on:.
#Screeps doc pro
However, if you are a pro developer, now is the chance to put your skills to the limit!

Screeps is developed for people with programming skills. However, it requires a lot of effort on your part, since multiple players may aim at the same territory. As you conquer more territory, your influence in the game world grows, as well as your abilities to expand your footprint. Such a colony can harvest resources, build units, conquer territory, trade with another colonies.

With all the attributes of a real strategy game, you control your colony by merely writing JavaScripts which operate 24/7 in the single persistent world filled by other players on par with you. Screeps is a MMO sandbox strategy game for programmers, wherein the core mechanic is programming your units AI. After a month from that, if everything goes smoothly, we will publicly release the game on Steam and the server on (the server source will be available on GitHub).Only 310 backers of our crowdfunding campaign will gain access to it. The second step is a private release of the server engine and launching a test version on Steam with its support.It will be a fully functional client for the online MMO mode with support for scripts in local files, but without the hosted server. First, we’ll release the game on Steam in the Early Access mode.If you haven’t received our email yet (which could happen if you had sent money but had not chosen your perk), please email us at for the Steam client and the open-source game engine, their development is under way and we hope to share the first results very soon. Valve has approved the release of the game for Steam, and we’ve already started preparing necessary documents.Īll the rewards have been sent out to backers except for codes for accessing Steam and the server.
