Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
Game designNovember 22, 20266 min read

How to Design a Core Game Loop

Every game is a few actions repeated with a reason to repeat them. Here is how to design the three nested loops that make that repetition feel good.

Startbase Team
Editorial ink illustration of three nested gears turning on a workbench, the smallest gear in ember orange

Key takeaways

  • A game runs on three nested loops: the moment loop (seconds), the session loop (minutes) and the long-term loop (days).
  • The moment loop must be fun on its own, with no rewards attached. Test it first, with placeholder art.
  • Each outer loop should feed back into the inner one, changing how the next moment plays, not just adding a bigger number.
  • Write your loop as a verb sentence before you build anything. If you cannot, the design is not ready.

A core game loop is the set of actions a player repeats, plus the reward that makes them want to repeat it. To design one, start with the smallest loop (the few seconds of input and feedback that make up most of play), make it fun on its own, then wrap it in a session loop that gives each play a goal and a long-term loop that gives players a reason to come back tomorrow. Each loop should feed the one inside it.

The three nested loops

Designers describe games in different terms, but most frameworks agree on three time scales:

  • Moment loop (1 to 30 seconds): the core verbs. Aim, shoot, dodge. Swap, match, cascade. Jump, land, collect. This is what the player's hands do most of the time.
  • Session loop (3 to 30 minutes): the goal of a play session. Clear the level, survive ten waves, finish the run, beat the daily puzzle. It ends with a result and usually a reward.
  • Long-term loop (days to weeks): progression across sessions. Unlock new characters, upgrade a base, climb a ranking, complete a collection, keep a streak.

A well-known phrase from the designers of a classic console shooter captures the moment loop: if you can make about thirty seconds of play fun, you can repeat it across a whole game by changing the context around it. That is the point. The outer loops do not create fun; they change the context of the moment loop so it stays fresh.

Write the loop as verbs first

Before any art or code, write each loop as a short sentence of verbs. If the sentence is vague ("explore and have fun"), the game will be too. Some examples:

  • Endless runner: moment = swipe to dodge, collect coins. Session = run until you crash, beat your distance. Long term = spend coins on characters and boosts that change how runs start.
  • Tower defense: moment = place or upgrade a tower, watch it fire. Session = survive all waves of a map. Long term = earn stars to unlock maps and new tower types.
  • Roguelike: moment = move, attack, pick up. Session = one run through procedurally generated floors, ending in death or victory. Long term = meta-currency unlocks new items that can appear in future runs.
  • Daily word game: moment = guess a word, read the colored feedback. Session = solve today's puzzle in six guesses. Long term = keep the streak, share the result grid.

Notice that in each strong example, the long-term loop changes the moment loop. New characters, towers and items alter what you do in the next few seconds. A long-term loop that only increases a number (more damage, more coins per pickup) is weaker, because the moment-to-moment experience stays the same. The roguelike guide shows all three loops working together in one genre.

Designing the moment loop

The moment loop has three parts: input, response and readable outcome. The player does something, the game answers immediately, and the player can tell whether it went well. Strong moment loops have:

  • A decision or a skill test every few seconds. Where to jump, which tile to swap, which enemy to shoot first. Pure waiting is not a loop.
  • Variation in outcome. Sometimes you nail it, sometimes you barely make it. Identical outcomes become boring.
  • Strong feedback. Juice turns a correct input into a satisfying one; our game feel guide covers the techniques.
  • Short recovery from failure. A mistake costs a few seconds, not a few minutes, so the player tries again instead of quitting.

Tip

The gray box test: build only the moment loop with colored rectangles and no rewards, menus or progression. If you keep playing it for a few minutes after you meant to stop, you have a core. If not, change the verbs before adding anything else. The weekend prototype guide turns that gray box test into a two-day plan.

Designing the session loop

The session loop gives the moment loop a shape: a beginning, rising pressure and an ending. Its main design questions are length and stakes.

  • Length matches context. Phone and browser games do well with sessions of 2 to 10 minutes. Make sure a session can end naturally at a point where stopping feels okay.
  • Escalation inside the session. Waves get bigger, speed rises, the board fills up. The difficulty curve guide explains how to pace it.
  • A clear result screen. Score, stars, distance, new best. This is the moment the player decides whether to play again, so put a big, instant "play again" button on it.
  • A reason to start the next one. A near miss on a record, a reward that is almost affordable, a new level just unlocked.

Designing the long-term loop

The long-term loop answers "why come back tomorrow?" Common structures, from lightest to heaviest:

  1. 01Mastery: no meta-progression at all, just getting better and beating your best. Works for arcade games with deep moment loops.
  2. 02Content unlocks: new levels, worlds or modes as you progress. Simple and satisfying for level-based games.
  3. 03Collections: characters, skins, cards or items to find. Most powerful when collected items change play.
  4. 04Upgrades and meta-currency: permanent improvements bought with currency earned in sessions. Common in runners and roguelites.
  5. 05Daily structure: a daily puzzle, daily challenge or streak. Creates a habit with very little content.
  6. 06Social: rankings, friends' scores, shared results. Lets other people supply the reason to return.

For a small game, pick one or two. Long-term systems need saving, and some need accounts; see our guides to saving game progress and leaderboards for the technical side.

Turning a loop into a build brief

Once the three loops are written as verbs, they make an excellent brief, because they describe what the game does rather than what it looks like. In Startbase, writing the loops out in Plan mode first lets the agent ask questions before it builds anything. A brief built from loops:

Build a 2D arcade game about a beekeeper's bee. Moment loop: the player drags the bee between flowers; touching a flower collects pollen, which slows the bee slightly, and touching a hive cell drops it off for points; wasps patrol in slow arcs and knock pollen loose on contact. Session loop: one summer day lasts 3 minutes, flowers wilt and bloom faster as the day goes on, and the result screen shows honey made and best day. Long-term loop: honey buys hive upgrades (a bigger pollen basket, a faster bee, a second helper bee) that change how the next day plays. Start with the moment loop only, with simple shapes, so I can test the feel before you add progression.

Signs your loop is broken

  • Players stop after the first reward. The moment loop is not fun on its own; rewards were carrying it.
  • Players never finish a session. The session is too long or lacks escalation and a natural end.
  • Players finish everything once and leave. No long-term loop, or one that does not change how play feels.
  • The loop has a dead step. Waiting for a timer, walking down an empty corridor, a menu between every round. Cut or shorten it.
  • Rewards that do not matter. Currency with nothing worth buying is noise.

Every genre in our games use case can be described with three loops. Write yours down before you start building, and test the smallest one first. It is the cheapest decision you will make and the one that matters most. When you are ready to put the loops into words, see how to describe a game to AI.

Frequently asked questions

What is a core game loop?

It is the cycle of actions a player repeats most often, with the feedback and rewards that make them want to repeat it. Designers usually describe it at three scales: the moment loop of a few seconds, the session loop of a play session, and the long-term loop across days.

What is the difference between a core loop and a meta loop?

The core loop is what you do moment to moment and within a session. The meta loop is the progression around it, such as upgrades, unlocks and collections, that carries over between sessions and gives players reasons to come back.

How do I know if my core loop is fun?

Build it alone, with placeholder shapes and no rewards, and play it. If you and a few testers keep playing past the point you meant to stop, it works. If people only play for the rewards, rework the core verbs.

On this page

  • The three nested loops
  • Write the loop as verbs first
  • Designing the moment loop
  • Designing the session loop
  • Designing the long-term loop
  • Turning a loop into a build brief
  • Signs your loop is broken

Keep reading

More in Game design
Editorial ink illustration of a toy hammer striking a bell on a spring, the impact spark in ember orange
Game designNovember 22, 2026

Game Feel: How to Make Your Game Feel Juicy

Juice is the layer of feedback that makes a tap feel like a punch. Here are the techniques, the timings that work, and how to keep it from drowning the game.

7 min read
Editorial ink illustration of a hand-drawn level map pinned to a desk, the goal flag in ember orange
Game designNovember 22, 2026

Level Design Basics for Your First Game

Good levels teach one idea, test it, then twist it. Here is a repeatable method for designing levels that pace well, read clearly and never feel unfair.

6 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.