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.

8 matching guides

Market and Advanced ResourcesAdvancedGuide

How to Create a Market Order Safely in Screeps

Create one reviewed market order with a one-time Memory request, validate Terminal ownership, calculate the 5% fee and Credit reserve, reject duplicates, snapshot the request, handle ERR_FULL without hard-coding a disputed order limit, and verify the order afterward.

18 min read
Market and Advanced ResourcesAdvancedGuide

How to Execute a Reviewed Market Deal Safely

Execute one specified sell order with a one-time request, refresh the current order snapshot, use amount rather than remainingAmount, enforce a price ceiling, Credit and Terminal Energy reserves, estimate transaction cost, disable before deal(), and verify the transaction afterward.

19 min read
Market and Advanced ResourcesAdvancedGuide

How to Send Resources Between Terminals Safely

Plan one direct Terminal transfer with a one-time request, validate TERMINAL_MIN_SEND and the 100-character description, separate ordinary-resource and Energy budgets, preserve reserves, disable before send(), and verify outgoing transactions and Store changes afterward.

18 min read
Market and Advanced ResourcesAdvancedGuide

How to Run Lab Reactions Safely in Screeps

Validate three owned active Labs, resolve the REACTIONS recipe, check reagent stores, output mineral compatibility, free capacity, range 2, cooldown, and a one-time production request before calling runReaction() and verifying the next tick.

18 min read
Market and Advanced ResourcesAdvancedGuide

How to Boost Creep Body Parts Safely in Screeps

Match a Lab mineral to BOOSTS, count eligible unboosted body parts, calculate LAB_BOOST_MINERAL and LAB_BOOST_ENERGY budgets, enforce range 1, ownership and activity, submit one reviewed boost request, and verify exact body-part changes afterward.

18 min read
Market and Advanced ResourcesAdvancedGuide

How to Produce Factory Commodities Safely in Screeps

Validate an owned active Factory, resolve the COMMODITIES recipe, check all components and output capacity, respect cooldown, match commodity level to the Factory level and PWR_OPERATE_FACTORY effect, submit one reviewed production request, and verify Store deltas afterward.

19 min read
Market and Advanced ResourcesIntermediateGuide

How to Harvest Minerals with an Extractor Safely

Find the room Mineral, require a same-tile owned active Extractor, check mineralAmount, Extractor cooldown, active WORK parts, Creep capacity and range, handle harvest() return codes, and verify Store and regeneration state on later ticks.

17 min read
Market and Advanced ResourcesAdvancedGuide

How to Process Power Without Breaking Your Energy Budget

Recover an owned active Power Spawn, calculate base and PWR_OPERATE_POWER processing amounts, require Power and POWER_SPAWN_ENERGY_RATIO Energy, preserve a configurable room reserve, store GPL and resource snapshots, handle return codes, and verify later deltas.

18 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.