An open API service indexing awesome lists of open source software.

https://github.com/dominiksipowicz/screeps

AI code for my screeps game. JavaScript RPG game for programmers.
https://github.com/dominiksipowicz/screeps

game javascipt screeps steam-games

Last synced: about 2 months ago
JSON representation

AI code for my screeps game. JavaScript RPG game for programmers.

Awesome Lists containing this project

README

          

# Screeps

This is the code I use to play screeps.

## cheat sheet

```
// create a creep
Game.spawns['Spawn1'].spawnCreep( [WORK, CARRY, MOVE], 'Harvester1' );
Game.spawns['Spawn1'].spawnCreep( [WORK, CARRY, MOVE], 'Upgrader1' );

// assign the role in memory
Game.creeps['Harvester1'].memory.role = 'harvester';
Game.creeps['Upgrader1'].memory.role = 'upgrader';

```