Game Internals › Anipop › Near misses

Out of moves, so close

Anipop steers every attempt toward a line that finishes the level on your very last move. Depending on your setting, it aims you right at that line or just short of it. When you run out of moves with the goals nearly done, the game calls it “fuuu”, and that's the moment it offers to sell you more moves.

The line ends on your last move

For each level, the game has a curve of how much of each goal you should have collected after each move. The steering compares your progress with that curve after every move: if you're behind, falling pieces are recoloured to help; if you're ahead, to hinder.

Matching each level's goals to their curves shows where those curves end. In 5,499 of 5,513 main levels (99.7%), the curve completes the last goal on exactly the final move. Its final values sit just above the goal counts (a median of 1.03 times). Real players' median progress wouldn't land on the last move that consistently across levels of very different difficulty, so the curves appear to be scaled to finish there.

Each assist setting then shifts where the steering holds you relative to that line. The chart below applies the game's rules (UBFuuuDiffLogic) to work out, for each setting, when it switches from hindering to helping.

Moves ahead of or behind the line, for each of the 24 settings. Blue: the game helps. Orange: it hinders. The gap between is where it leaves you alone, and the dot marks where it holds you. Modelled outside the final moves and ignoring the trend term.
helps hinders holds you here

So on the neutral setting (0) the game aims for you to finish on the last move. Settings +1 to +4 aim for you to end between half a move and about three moves short, and the hardest setting aims for a clear fail. In the last 3 to 10 moves, extra help kicks in if you've fallen well behind, which pulls struggling attempts closer to the finish.

Which setting you get comes from the attempts target and the server's measurements, which aren't in the app. So the code shows where each setting aims, but not how often players get each one.

“Fuuu state”

The game has a name for running out of moves with every goal nearly done: the “fuuu state” (isMeetFuuuStatus). It holds when every goal has no more than a set amount left. Examples from its table (UBFTallyIdToFuuuDataMap):

Goal“Nearly done” means at most this many left
Animals of one colour6
Coins5
Jam, honey, sand, water, chameleons3
Ice, snow, lotus, venom, balloons, special pieces2
Special-piece swaps, snails, butterflies, chocolate1
Siege bees10, adjusted by the houses left

The code describes the check as being “for the add-five-moves panel”.

The out-of-moves panel

When your moves run out, the panel's title is always 步数耗尽了, “Out of moves”. Its message comes from a priority list (ubf_add_step_panel_config_new): the highest-priority message whose conditions you meet is shown. If you tap close, a second message appears if one applies; only then does the panel close.

PriorityWhenMessage (translated)
10001after tapping close, Super Magic Bird active“Give up and you lose the Super Magic Bird”
9950after tapping close, one kind of reward collected“Quit now and you lose all the great rewards — sure you want to give up?”
9900replaying a level for stars, and you've just earned one“Star top-up succeeded! Quit and you'll have to start again”
9800fuuu state“Only this much left to pass:” followed by your remaining goals
9799on a win-streak leaderboard“%d wins in a row! Quit and you lose your streak”
9751first attempt at the level, rewards collected“Only one first-try chance; giving up loses up to %s in rewards”
9750rewards collected“Leave now and you lose every reward collected this attempt~”, “You've earned so many rewards, try again~” or “Almost through, add a few more moves~”
9600on a winning streak“Give up now and you lose your win-streak reward”
5000nothing else applies“Try again, you can definitely pass”

New players see fewer options

For players in a beginner experiment group whose top level is below 201, the panel hides the cheaper ways out: watching an ad for moves until level 201, the discounted price until 101, gift packs until 71 and +2 moves until 61.

Bought moves: bigger packs at the same price

In the app's default price table, +5 moves costs 59 windmill coins (the premium currency; ¥6). There's a one-time discounted price of 38 (¥4). Every larger pack the panel can offer, from +7 up to +65 moves, has exactly the same price. Instead of getting cheaper, the offer gets bigger:

Every pack above: 59 windmill coins.

  • The more you fail a level, the bigger the pack. After a set number of fails on the same level, each further fail adds a set number of moves to the pack, up to a cap. A random “puff” can jump straight to the cap. The count resets when you move on to a new level. The newest levels have their own settings, and every value comes from the server.
  • Winning streaks can unlock +35. Once you're on a long enough winning streak, the +5 offer can become +35 for the same price. The chance is set separately for each spending tag the server gives you, with a pity count that guarantees it after enough misses, and limits on how often you can buy it. An older version of this rule also required you to be well behind the expected curve.
  • The server decides near the end. In the 2026 version, once 8 or fewer moves remain, the app asks the server which pack to offer for this attempt and whether it puffs. The answer is locked in before the panel appears.

Prices are the defaults shipped in the app (goods_config); the server can change them.

A mode that targets the near-miss itself

The normal system aims at an average number of attempts. The code also contains a second mode, stepFix, that aims at how many moves short you fall. Its comment, translated:

StepFix: the target offset of remaining moves. 0 means passing on the last move; above 0, passing with N moves left; below 0, failing N moves short. In this mode the algorithm doesn't care about catching up with the line in time; it cares about the Fuuu rate. … On a failure its fuuu rate is more controllable. Compared with whether the moves left on a pass are right, the algorithm cares more about whether the virtual move gap on a failure is right.

Only one thing in the app switches it on: one variant (V2) of the Super Magic Bird 2024 event. Whether that variant runs is a server setting.

Sources and confidence

What the code can't tell us

  • How often players get each setting, and so how often attempts are aimed short of the line.
  • The server's choice of upgrade pack near the end of an attempt, and the trigger chances it sets per spending tag.
  • Live prices, if the server overrides the defaults.

Where this comes from

Anipop 1.161 for Android, decrypted Lua source. The out-of-moves panel is in ubf/UBFGamePlayScene/logics/sceneModules/addStepPanel/:

  • UBFAddStepPanelModule: the two views;
  • data/UBFAddStepPanelUtil: choosing the message;
  • fiveStepUpgrade/ and winComboUpgrade/: the bigger packs;
  • novice/: what new players see.

Elsewhere:

  • ubf/UBFPlay/declares/UBFFuuuTargetConst: fuuu-state thresholds;
  • ubf/UBFPlay/logics/progress/LevelProgressLogic: the expected-progress curves;
  • …/diffAdjust/ubfuuu/UBFuuuDiffLogic: the steering, and the stepFix comment;
  • ubf/UBFActivity/actFolder/SuperMagicBird2024: the only use of stepFix;
  • zoo/config/meta/goods_config: prices.

The curves are in resource/ubf/fuuuChart. The 99.7% figure comes from matching each main level's goals to its curve using the game's own ID tables; it counts the 5,513 levels where every goal matched.