SYSTEM 01 · 10 GUIDES

Memory and Code Structure

State, modules, global cache, RawMemory, flags, and maintainable game-loop structure. This page connects the system overview to focused lessons, diagnostics, and operational boundaries.

START HERE

Read the system in a useful order

Begin with lessons or foundational guides, then move to debugging, safety, and advanced operations. Each article states the evidence level it actually reached.

Open the first guide →
01

Published guides in this system

Use the labels to distinguish sequential lessons, task-focused guides, debugging workflows, safety pages, and references.

  1. LessonWhat Is Screeps? A Programming Strategy Game8 min read · Beginner
  2. LessonScreeps Ticks and Game Loop: Why Your Code Runs Repeatedly8 min read · Beginner
  3. GuideHow Screeps Memory Saves Creep Roles and Working State12 min read · Intermediate
  4. GuideHow to Switch a Screeps Creep Between Getting Energy and Working15 min read · Intermediate
  5. GuideHow to Restore a Screeps Target from Memory with Game.getObjectById()16 min read · Intermediate
  6. GuideHow to Clean Dead Creep Memory Safely in Screeps14 min read · Intermediate
  7. GuideHow to Build a Safe Global Cache in Screeps18 min read · Intermediate
  8. GuideHow to Use RawMemory Segments Safely in Screeps20 min read · Intermediate
  9. ReferenceHow to Use Flags as Reviewed Configuration Instead of Hidden Automation16 min read · Intermediate
  10. GuideHow to Split Screeps Code into Modules Without Caching Stale Game Objects17 min read · Intermediate
Need a guide that is not listed?

Search by API method, error code, or symptom first. Zero-result English searches are recorded anonymously and can be submitted as a public content request.

Search the English section →