ARTICLE LIBRARY

Practical Screeps articles for the problem you need to solve

Browse 64 published guides by system, difficulty, content type, or topic. Start with What Is Screeps? A Programming Strategy Game or follow the beginner sequence through How to Combine Your First Screeps Room Loop.

12 matching guides

Construction and DefenseIntermediateGuide

How to Make Towers Heal the Creep That Needs It Most

Find injured owned Creeps, rank lower hit ratios before missing hits and nearest-Tower range, require active owned Towers with TOWER_ENERGY_COST, save heal() results, avoid caching stale targets, and leave over-heal optimization to a later dispatcher.

17 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
Construction and DefenseIntermediateDebugging

How to Launch a Nuke Without Reusing a Stale Target Request

Bind confirmation to target room and coordinates, recover an owned active Nuker by ID, check cooldown, NUKE_RANGE, Energy and Ghodium capacities, disable before launchNuke(), save the return code, and verify later evidence without requiring target-room visibility.

19 min read
Publication standard

English articles are published only after source review, official API checks where applicable, JavaScript syntax review where code is present, duplicate-intent checks, and a final score of at least 96.