← Kate Learning Adventure Game · source: files/math-pilot-lovable-merged-message-1.md

coursekate-learning-adventure-gamekidsmath-pilot

Math Pilot — MERGED MESSAGE 1 (sent to Lovable 2026-11-19, Dun approved "Do it")

Combines: GLOBAL RULES + Brief 1 (finish the broken build) + the ten-mission journey STRUCTURE (route, mission sequence, landing slots, math ladder — the detailed landing scenes arrive in a later brief and plug into these slots). Dun's plan: this one message first, verify the game runs, then Briefs 2+4 in one message, then Brief 6, holding ~1 credit in reserve. Briefs 3, 5, 7, 8 roll to the next day's free credits.


GLOBAL RULES — apply to everything below and to every future change to this game. ART: rich, filled, colourful flat 2D with soft shading and gentle parallax in flight scenes — NOT line drawings, NOT bare outlines. Every place is ONE fixed background with interactive objects on it: backgrounds never move or change; only the objects, numbers and characters animate. Reuse the same Kate, the same rooms, the same tap-and-drag interactions and the same recorded-style voice lines everywhere — do not invent a new art style or a new control scheme for any single feature. CHARACTERS: Kate is the pilot and the hero, drawn from her canonical reference (ponytail with blue scrunchie, navy jacket over blue polo, gold pendant, black shorts, pink socks, white sneakers with pink trim, light-blue star backpack). A friendly robot guide flies and walks with her: it speaks every instruction, reads every number and equation aloud, praises her by name at each success, and re-teaches gently after any miss. No Star Wars, Lingokids, or any other game's characters, art, names or branding anywhere. MATH RULES: teach first, then test — every new skill gets a short guided lesson before it is ever asked for in a mission. No fail state anywhere: a wrong answer never loses anything, never ends anything, and is never called wrong — the guide gives a hint, then teaches the step, and that skill quietly gets extra practice later. NO time limits anywhere, ever. DIFFICULTY: two modes on the start screen — Easy Flight (smaller numbers, fewer asteroids) and Hard Flight (bigger numbers, more asteroids) — over the SAME ten-mission journey; inside each mode the difficulty rises only after success. PRACTICE COUNT: one target number flown through the portal = one problem; a mission holds about 4–6 targets of its skill, then the mission ends. PROGRESS: the ship has badge spots shown as plain WHITE outlines; finishing a session or lesson fills one badge with colour, permanently. DO NOT CHANGE, in this or any future change: the shoot button and its laser (exactly as they are), the flight steering feel Kate already flies with, and the start-screen buttons' layout. BUILD ON TOP, NEVER REBUILD: every change adds to the game exactly as it stands. Never remove, rewrite, or replace a working screen, system, or mechanic from an earlier build. New features plug into the existing structure as modules or add-ons; if a new feature needs one existing piece adjusted, change only that piece and leave everything else untouched. When finished, report what was ADDED and what was ADJUSTED — nothing may be reported as rebuilt or replaced.

PART 1 — FINISH THE BROKEN BUILD. The last build of this game finished unsuccessfully, with errors in the game engine, the math, saved progress, the guide voice, and the flight and map screens. First, fix all of those errors so the whole game works end to end: the start screen, Learn to Fly (every step, including tapping a number token to split it), both flight modes, the Star Map, and the Cargo Hold — and make saved progress survive closing and reopening the game. Rename the two flight buttons: they must read 'Easy Flight' and 'Hard Flight' ('Learn to Fly' stays). Do not add description lines under the buttons and do not change the buttons' size, style or positions. In Learn to Fly, the steps are: (1) steer — the ship follows her finger or pointer smoothly and stays where she leaves it, with no drifting back; (2) collect — fly into a floating number token to pick it up and carry it; (3) merge — drag one carried token onto another and they join into one token showing the sum, while the equation (like '5 + 5 = 10') appears BIG in the middle of the screen at that exact moment and the guide voice reads it aloud; (4) split — tap a carried token once and it splits into two smaller tokens that add back to it; (5) dodge — steer around asteroids. Collision rule, taught in step 5 and used in every flight: if the ship touches an asteroid, the asteroid breaks into smaller pieces with a low, dull CLUNK (never a happy sound), the ship shakes and flashes red briefly — nothing is lost and nothing is taken away, but it must clearly read as a mistake. The clunk plays on every hit; only occasionally, at random, the guide also says 'Oops!'. Two spawning rules: a number token must NEVER appear on, under, attached to, or overlapping an asteroid — numbers and asteroids are always separate, so collecting a number can never mean hitting a rock; and a token that already equals the target number must never spawn — the target must always be built by merging or splitting. Flight sound: a soft engine hum that runs the whole flight, rising slightly in pitch as the ship speeds up and settling as it slows; a gentle whoosh when the ship passes close by a rock or a crystal; quiet background music under everything. Two small toggle buttons, the same size and style as the existing top-bar buttons, placed right next to or just below the Home icon at the top left: a MUSIC NOTE icon that turns only the background music on or off, and a SPEAKER icon that turns ALL sound on or off; when a sound is off, its button looks visibly dimmed or crossed. The portal: when Kate flies the correct built number through the glowing ring, she fades out in a sparkle teleport and reappears at the start side, ready for the next target — the flight loops, it does not stop. On some missions the ring is on the left and she starts from the right, so the direction varies. The portal's glow must fade in and out SMOOTHLY, like the ship's engine trail — a soft gradient with no hard on/off edge.

PART 2 — BUILD THE TEN-MISSION JOURNEY STRUCTURE NOW. Build the full journey skeleton in this same change, so later additions plug into it without restructuring: the Star Map shows one route of ten missions, flown in order, the SAME route in Easy Flight and Hard Flight. Hops with landings alternate with pure flights. The route is: Learn to Fly (steer, collect, merge, split, dodge) → Mission 1, hop + landing: numbers to 5 (1+1, 2+1, 2+3) → Mission 2, flight: numbers to 10 (3+3→6, 6+3→9, 5+5→10) → Mission 3, hop + landing: splitting apart, break 10 into parts, find the missing part → Mission 4, flight: sums to 20, build a 10 first then add on (9+1→10, 10+5→15) → a short lesson, LEARN TO COUNT BY TENS, taught the same guided way as Learn to Fly → Mission 5, hop + landing: counting by tens in flight → Mission 6, flight: TEN-PODS — ten single tokens merge into one ten-pod, and a ten-pod splits back into ten ones → Mission 7, hop + landing: two-digit missions ('Make 82' = 8 ten-pods + 2 ones flown through the gate); finishing this stage earns the big '10' badge → a short lesson, HALVES AND FOURTHS, taught the same guided way → Mission 8, flight: fractions I — split 1 whole into 2 halves, fly both halves through the gate to rebuild 1 → Mission 9, hop + landing: fractions II — split 1 into 4 fourths and rebuild 1 → Mission 10, final flight: the grand mix — a two-digit target and a fractions gate — ending with arrival at the final planet and the full badge row complete. LANDING SLOTS: on hop missions (1, 3, 5, 7, 9), after the flight the portal sets Kate down on the planet: build the landing SCENE SHELL now — the ship settles onto the ground with a small puff of dust, Kate stands full-body in the scene with the guide beside her and the ship parked behind with its door open, drawn in the same art as that leg's flight scenery, and the guide states the mission in one spoken sentence. The detailed counting interactions for these scenes arrive in a later brief and must plug into these shells as a module — so structure the shells to accept added interactive objects without being rebuilt. STAGE CHECKS AND REVIEW: at the end of each stage (numbers, tens, fractions) one landing is a stage check — that stage's skills mixed, no teaching first, still in story form; a miss triggers a hint, then re-teaching on the spot, and that skill quietly gets extra targets in the next flight; the stage's badge fills with colour only when a stage check is completed cleanly. The flight right after a stage check is a REVIEW FLIGHT mixing skills from ALL earlier stages, and the first flight of each new day quietly includes two targets from an older stage. Progress through the route, badges, and the current mission must be saved and survive closing and reopening the game.