TOPIC · 12 GUIDES

Rooms Screeps guides

Focused English articles connected to rooms, organized with the same filters used by the main article library.

12 matching guides

Controllers and ExpansionIntermediateGuide

How to Choose Between Reserving and Claiming a Controller

Separate renewable remote-room reservations from one-time room ownership, require an active CLAIM part and range 1, block owned Controllers and hostile reservations, require explicit claim confirmation and GCL capacity, save return codes, and stop a claim mission after OK.

19 min read
Construction and DefenseIntermediateGuide

How to Create One Road Construction Site Safely

Use a one-time Memory request, validate a visible room and 0–49 coordinates, allow Road placement on natural wall terrain, reject an existing Road or Construction Site, respect MAX_CONSTRUCTION_SITES, disable before createConstructionSite(), and verify later.

17 min read
Movement and VisionAdvancedGuide

How to Use StructureObserver.observeRoom() Safely

Schedule Observer vision, store the accepted request, read the target Room on the next tick, preserve bounded intel, handle return codes, and avoid claiming that current visibility proves the new request completed.

18 min read
Operations and DebuggingIntermediateGuide

How to Read Room.getEventLog() Safely in Screeps

Read previous-tick room events, distinguish parsed arrays from raw JSON strings, validate event-specific data, preserve IDs when objects disappear, filter attacks on owned targets, and store bounded aggregates instead of unlimited history.

18 min read
Operations and DebuggingIntermediateDebugging

How to Build a Safe RoomVisual Debug Layer in Screeps

Draw current Creep state, target relationships, and task labels with RoomVisual while enforcing per-room switches, stable ordering, item limits, the 512,000-byte ceiling, cross-room boundaries, and a strict separation between visuals and action results.

18 min read