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.

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