Code-Based Breakdown

How Level Goals Really Work in ZooBlocks

ZooBlocks splits its objective system into two phases: fixed onboarding levels and weighted procedural generation. Some goals accumulate over the whole level, while others only count if you hit the threshold in one single scoring resolution.

The First Five Levels Are Fixed

The first five levels are hand-authored teaching levels rather than random pulls from the procedural generator.

  • Level 1 teaches row clearing.
  • Level 2 teaches column clearing.
  • Level 3 teaches score targets.
  • Level 4 teaches cleared-cell collection.
  • Level 5 combines row and column objectives.
1-5

Fixed Lessons

The early game is curated on purpose so new players meet one concept at a time instead of random pressure.

6+

Generated Mix

From level 6 onward the game starts pulling from a weighted goal pool and difficulty ramps more flexibly.

2-3

Goal Slots

Most generated levels run two goals, while later checkpoints can stack three at once.

When Procedural Goals Start

From level 6 onward, the game chooses goals from a weighted pool. Most levels use 2 simultaneous goals, while some later checkpoints can use 3.

The pool also expands with progression. Score goals, collection goals, line-combo goals, color-specific collection, and one-match-size goals are only added after certain level thresholds.

Every Goal Type in the Code

  • Clear rows: total completed rows across the level.
  • Clear columns: total completed columns across the level.
  • Score: cumulative points earned in the level.
  • Collect any: cumulative number of unique cleared cells.
  • Clear lines: required number of rows + columns in one single resolution.
  • Collect color: cumulative cleared cells of one randomly chosen animal color.
  • Match size once: required size of one color-match group in a single resolution.

Cumulative vs One-Time Objectives

The most important hidden distinction is whether a goal adds up over time or checks one moment only.

  • Cumulative: score, collect any, collect color, clear rows, clear columns.
  • Single-resolution only: clear lines, match size once.
Example: a “clear 4 lines” goal does not mean clear 4 lines over the whole level. It means one combined clear has to include at least 4 rows and columns together.
SUM

Cumulative Goals

These keep counting upward through the whole level, so steady progress matters more than one explosive turn.

ONCE

Spike Goals

These only care about one scoring resolution. You either hit the threshold in one moment or nothing is banked.

LOCK

Retry Stability

When you retry, the same generated goal set returns, so you can learn and plan around a fixed objective mix.

What Feeds Goal Progress

Goals are updated only after a scoring resolution finishes. The code records points, total unique cleared cells, color-specific cell counts, row totals, column totals, line-combo size, and match-group size.

Because these are separate signals, one move can advance several goals at once if it creates the right combination of clears.

Retrying Keeps the Same Goal Set

Generated levels are cached. If you retry the same level, the board size and goals stay the same instead of being rerolled.

This is useful for learning. You can adapt strategy to the exact objective mix instead of hoping for an easier redraw.

Goal Difficulty Scales With Progress

As level number rises, target values increase and the board grows from 4x4 through 9x9. That means late-game goals ask for bigger numbers while also giving you more room to set up stronger turns.

EarlySmall boards and simple, focused teaching goals.
MidMore goal variety with rising score and collection targets.
LateLarger boards, more objective overlap, and harder one-turn spikes.

How to Read Goals Better

  • If the level wants score, prioritize overlap combos and multi-line clears.
  • If it wants row and column counts, watch whether your clears are balanced.
  • If it wants a specific color, do not waste clears on the wrong animal type.
  • If it wants one big line combo or one big match, stop playing for gradual progress and build a spike turn.

Play for the Objective, Not Just Survival

Once you know which goals accumulate and which must be completed in one scoring window, levels become much easier to read. ZooBlocks rewards adapting your plan to the current objective mix.