Skip to content

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

Notifications You must be signed in to change notification settings

dominiksipowicz/screeps

Repository files navigation

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';


About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages