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.
- Host: GitHub
- URL: https://github.com/dominiksipowicz/screeps
- Owner: dominiksipowicz
- Created: 2018-02-09T22:44:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-15T18:01:50.000Z (over 7 years ago)
- Last Synced: 2025-08-02T20:45:07.927Z (2 months ago)
- Topics: game, javascipt, screeps, steam-games
- Language: JavaScript
- Homepage: https://screeps.com/
- Size: 7.81 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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';```