# Pantry Pendulum — Game Design Document v0.2

## Player Promise and Audience

**[GDD-PROMISE-1]** Pantry Pendulum is a portrait, one-thumb, premium-feeling mobile physics puzzler about changing a hanging system through cooking. In every 45–120 second level, the player tugs a linked ingredient mobile, contacts preparation stations in a pictured order, and uses each cooked ingredient's changed weight to shape the remaining swings. The target audience is puzzle-curious mobile players aged 10+ who enjoy tactile cause-and-effect, compact authored challenges, immediate retries, and visually legible mastery without explicit mathematics.

**[GDD-AUDIENCE-1]** The game serves short sessions but is not a disposable hyper-casual score chase. It should reward prediction after two or three attempts while still allowing a first-time player to learn by touching and watching. It is suitable for US English launch with icon-led rules and localization-ready text.

## Design Pillars and Non-Goals

**[GDD-PILLAR-1] Consequential cooking.** Every correct preparation contact changes the contacted ingredient from raw to prepared and moves it to a named weight class. That persistent change alters the shared mobile rather than merely incrementing a checklist.

**[GDD-PILLAR-2] Readable before clever.** The current recipe step, ingredient states, reachable stations, remaining tugs, and danger feedback remain visible without opening a panel. A short prediction arc shows initial direction but never solves the full trajectory.

**[GDD-PILLAR-3] One expressive gesture.** Drag direction and distance create a bounded impulse. The same gesture supports safe setup swings, aggressive crossings, and deliberate bumper use.

**[GDD-PILLAR-4] Fast recovery.** A failure explains the first decisive mistake, preserves no consumable penalty, and returns to the exact level in one tap.

**[GDD-NONGOAL-1]** No arithmetic questions, equations, numeric mass values, balance-scale worksheets, merge meta, energy lives, forced advertisements, gacha, free-form restaurant simulation, dialogue trees, visual-novel format, photorealistic food, or prototype work before explicit Art Bible acceptance.

## Player-Facing Fingerprint

**[GDD-FINGERPRINT-1] Input:** drag anywhere below the mobile's ceiling anchor to choose the direction and strength of one tug; release to commit.

**[GDD-FINGERPRINT-2] Decision:** select a useful ingredient–station contact while accounting for the mobile's current transformed weights, then choose a setup or crossing swing.

**[GDD-FINGERPRINT-3] Objective:** perform the visible recipe steps in order within the tug budget.

**[GDD-FINGERPRINT-4] Failure:** the third wrong-station scorch fails immediately; spending the final tug without completing the recipe also fails after resolution.

**[GDD-FINGERPRINT-5] State change:** a correct contact permanently transforms one ingredient and changes its weight class for the rest of the attempt.

**[GDD-FINGERPRINT-6] Progression:** new mobile topologies, station schedules, obstacle rules, ingredient fragility, and increasingly interdependent transformation orders.

**[GDD-FINGERPRINT-7] Content:** authored deterministic rooms generated from a bounded grammar, validated for at least one solution and a par route.

**[GDD-FINGERPRINT-8] Presentation:** warm 2.5D stop-motion-like kitchen dioramas made from glazed ceramic, woven cord, stamped metal, cloth, enamel, and soft task lighting.

**[GDD-FINGERPRINT-9] Metagame:** earn one recipe stamp for completion and up to three copper spoons for optional mastery; fill a countertop cookbook without power growth.

## Core Loop and Player Verbs

**[GDD-LOOP-1]** Read the next recipe pictogram and current mobile. Pull to preview the first 25% of a possible arc. Release one tug. Watch a deterministic resolution lasting at most 3.5 seconds. A correct active-station contact cooks that ingredient, changes its weight class, advances the recipe, and returns control. A wrong active-station contact adds a scorch mark and returns control unless it is the third. Repeat until the recipe completes or a failure rule fires.

**[GDD-VERB-1] Tug:** apply a single bounded impulse to the handle attached below the mobile. Input magnitude is normalized into four internal bands but shown continuously; no numbers are exposed.

**[GDD-VERB-2] Read:** identify the next ingredient and station through silhouette, material, icon, and order position—not color alone.

**[GDD-VERB-3] Set up:** use a low-force tug to reposition phase and spacing without seeking immediate contact.

**[GDD-VERB-4] Cross:** use a stronger tug to carry one ingredient through a station or around an obstacle.

**[GDD-VERB-5] Retry:** reset the current authored level instantly with no life, currency, or advertising cost.

## Deterministic Rules

**[GDD-RULE-1] Mobile model.** A level defines one fixed ceiling anchor, one to three rigid arms, one to four cord-linked ingredient bodies, joint length, starting angle, damping, and four qualitative weight classes: airy, light, hearty, and dense. Simulation uses a fixed timestep and authored collision layers. The same input from the same state must produce the same outcome on supported devices.

**[GDD-RULE-2] Tug model.** Drag starts only inside the lower safe play field. The handle follows the finger within a circular bound of 92 logical pixels. Release converts the vector into an impulse clamped between zero and the level's maximum. A drag under 12 pixels cancels without consuming a tug. During resolution, all gameplay input is locked except pause.

**[GDD-RULE-3] Contact model.** Each station owns one contact volume and one active recipe icon. The first valid ingredient–station contact during a resolution is evaluated. If it matches the next recipe step, that ingredient transforms after motion settles. If it does not match, the level adds one scorch. Additional contacts during the same resolution create sparks and sound but cannot alter state, preventing ambiguous multi-hit outcomes.

**[GDD-RULE-4] Transformation model.** Every ingredient definition specifies raw form, prepared form, incoming weight class, outgoing weight class, silhouette, material cue, required station, and a 0.6-second settle animation. The body retains its cord and position; only mass preset, collision radius where authored, and visual state change. The system never exposes kilograms or calculations.

**[GDD-RULE-5] Station model.** Chop blocks, pans, steam bells, chill tiles, and glaze brushes share the contact rule but have distinct silhouettes and feedback. Later levels may mark a station hot or resting on alternating tug counts; the next availability is previewed with a physical flip tab before input.

**[GDD-RULE-6] Obstacles.** Rubber bumpers redirect without damage. Brittle garnish bells crack if struck above an authored speed threshold and immediately add one scorch. Sliding prep rails move along a visible two-position track only after a correct transformation. No hidden random force, wind, or collision result is permitted.

**[GDD-RULE-7] Completion.** After the final correct transformation, remaining motion damps rapidly, cords release in a fixed sequence, and the prepared ingredients settle onto the plate. Completion time begins at first accepted drag and excludes pause. Copper spoons are awarded for completion, meeting the par tug count, and avoiding scorch marks.

## Failure, Consequence, and State Change

**[GDD-CONSEQUENCE-1]** The defining consequence is physical: correct preparation changes the transformed ingredient's qualitative weight and therefore the center of mass, swing amplitude, collision timing, and useful routes of the whole mobile. The prepared form is unmistakable through silhouette and material—for example, a puffy raw dough pouch becomes a compact golden roll with a denser swing.

**[GDD-FAIL-1]** A wrong active-station contact burns one of three cloth oven-mitt tabs at the top edge. The third scorch freezes the mobile, circles the first decisive bad contact, and opens the failure sheet. If the tug budget reaches zero, resolution finishes; incomplete recipes fail with the unmade step highlighted. Cracked brittle garnish uses the same scorch budget.

**[GDD-RECOVERY-1]** Failure offers Retry as the dominant action and Recipe Map as the secondary action. Retry restores the exact authored start state and begins the FTUE hint again only if that hint was not demonstrated. No progress, life, or consumable persists within a failed attempt.

## Progression and Content Grammar

**[GDD-PROGRESSION-1]** The launch plan contains 60 authored levels in five recipe trays of 12. Tray 1 teaches tug, active contact, and one weight change. Tray 2 introduces two-ingredient order. Tray 3 adds bumpers and alternate station availability. Tray 4 adds three-arm mobiles, sliding rails, and brittle garnish. Tray 5 combines all rules while limiting recipes to four transformations and keeping the complete board visible.

**[GDD-CONTENT-1]** A level record contains: mobile topology; ingredient definitions and starting states; station definitions and availability schedule; obstacle definitions; ordered recipe steps; tug budget; par tugs; camera framing; hint checkpoint; and deterministic solution trace. A validator rejects unreachable required stations, off-safe-area actors, duplicate first-touch ambiguity, unsolved content, and any solution that depends on frame-rate variance.

**[GDD-CONTENT-2]** Difficulty changes through spatial occlusion, swing phase, order dependencies, and the usefulness or inconvenience of changed weights—not smaller touch targets. Minimum interactive target remains 44×44 logical pixels. A recipe has at most four steps and a level at most four ingredient bodies.

**[GDD-META-1]** Completing a level stamps its recipe card. Optional copper spoons fill a tray ribbon and unlock cosmetic countertop cloths at 18, 36, and 54 spoons. Cosmetics never change physics. Every unlocked level remains replayable; the next level unlocks on completion only.

## First Session and FTUE

**[GDD-FTUE-1]** Every fresh install and prototype page load begins at a three-card tactile onboarding: “Pull the handle,” “Touch the pictured station,” and “Cooking changes the swing.” Cards use short looping diagrams, large Skip and Continue actions, and spoken-description-compatible labels.

**[GDD-FTUE-2]** Level 1 contains one dough pouch and one pan. A hand ghost pulls left once, then disappears after the player begins a valid drag. The first correct contact pauses after transformation and uses a before/after silhouette plus a short “Heavier now” cloth tag; it does not show a number. Level 2 requires a soft setup tug before the contact. Level 3 puts two ingredients in a visible order and is the first independent proof of the complete loop.

**[GDD-FTUE-3]** The first session target is six minutes: onboarding, three teaching levels, one free-choice retry, and the first recipe-tray completion moment. Hints appear after two identical unproductive outcomes and point only to an affordance or first-contact opportunity, never the full solution.

## Economy and Monetization Boundaries

**[GDD-ECONOMY-1]** The prototype and soft-launch test contain no purchases or ads. The product hypothesis is a free first tray followed by one transparent full-cookbook unlock, with an optional ad-free cosmetic cloth bundle only if platform and parental-review requirements are met. No rewarded ads, interstitials, consumables, subscriptions, random rewards, dark patterns, or pay-to-skip puzzles are designed.

**[GDD-ECONOMY-2]** Copper spoons are mastery marks, not spendable currency. Recipe stamps only record completion. No daily streak or loss aversion is used. Restore Purchases and parental gating belong on the Settings/Legal path if monetization is later enabled.

## UX, Accessibility, Audio, and VFX

**[GDD-UX-1]** Portrait gameplay keeps the ceiling anchor and recipe rail inside the top safe area, stations in the central 58%, and the draggable handle plus tug budget above the bottom gesture region. The next recipe step is always duplicated by silhouette, station icon, ordinal position, and color. Pause remains reachable during resolution; no other control overlaps the play field.

**[GDD-UX-2]** Required screens are onboarding, home/cookbook, recipe tray, gameplay fresh/active/paused, success, failure, settings, accessibility, and legal. Required exceptional states include an invalid short drag, wrong-station scorch, final-tug warning, unavailable station, interrupted resume, and offline-safe local content load error.

**[GDD-ACCESS-1]** Provide scalable UI type, high-contrast mode, color-independent ingredient/station symbols, reduced motion, separate music/SFX controls, haptic toggle, left/right thumb equivalence, captions for gameplay-relevant audio, and a persistent focus ring for keyboard prototype review. Every target is at least 44×44 logical pixels.

**[GDD-AUDIO-1]** Woven-cord creaks communicate tension; a soft ceramic tick marks predicted first-contact proximity; every station owns a material-specific confirmed sound; a dry pan clack communicates wrong contact; and the completion chime plays the current ingredient sequence as a four-note maximum motif. Menu movement is cloth-and-enamel, never electronic beeps.

**[GDD-VFX-1]** Correct contact produces a contained flour puff, steam curl, ice sparkle, or glaze ribbon tied to the station. Wrong contact produces a brief paprika-red soot stamp plus a directional ring around the contact. Reduced motion replaces travel and squash with two-frame material swaps and static rings. VFX never hide an ingredient silhouette or station icon.

## Technical Constraints

**[GDD-TECH-1]** Target iOS and Android phones in portrait at 60 fps on mid-tier devices equivalent to iPhone 11 and Android devices with 4 GB RAM. A future Unity build uses 2.5D URP, orthographic camera, fixed 60 Hz simulation, pooled effects, baked lighting, one shadow-casting key light, and no runtime network requirement for gameplay.

**[GDD-TECH-2]** The deterministic HTML mechanics prototype, if later authorized, may approximate the mobile with 2D constraints and authored fixed-step integration, but must preserve tug bounds, first-valid-contact arbitration, qualitative weight transformations, tug/scorch rules, and at least six representative levels. It is not a production UI target.

**[GDD-TECH-3]** Content is data-authored and testable without art. Automated tests replay solution traces across two frame pacing profiles, confirm identical outcomes, validate safe-area bounds at 360×800 and 393×852 logical canvases, and assert no gameplay state is persisted across reload.

## Risks, Falsifiers, and Acceptance Criteria

**[GDD-RISK-1]** Risk: players may perceive outcomes as chaotic. Falsifier: after the first three levels, fewer than 70% of moderated testers can predict which ingredient will reach a station before releasing. Mitigation is stronger initial-arc, weight-class, and first-contact visualization—not hidden aim correction.

**[GDD-RISK-2]** Risk: the changed weight may feel cosmetic. Falsifier: fewer than 70% can identify that the prepared ingredient changed the next useful swing without being told. Mitigation is a clear material/silhouette swap, a momentary center-of-pull marker, and level designs whose solution depends on the changed weight.

**[GDD-RISK-3]** Risk: cooking theming may imply a generic mini-game collection. Falsifier: store-test participants describe it primarily as “cooking game” rather than “swing/pendulum puzzle.” Positioning, icon, and first three screenshots must center the linked mobile and before/after trajectory consequence.

**[GDD-ACCEPT-1]** A mechanics slice passes when: every included canonical gameplay replay with identical input and seed resolves identically across all supported device/frame-pacing cases; a single divergent outcome fails, with coverage and failing seeds reported; any non-gameplay visual-motion tolerance is specified and tested separately; 8 of 10 new players complete Level 3 without verbal help; 7 of 10 correctly explain the weight-change consequence; median retry-to-input is under four seconds; all required targets and safe areas pass; and no test level requires more than four recipe steps or an invisible rule.

**[GDD-ACCEPT-2]** The Art Bible passes machine completeness only when every required screen and important state has a source-linked visual, the gameplay master clearly shows a transformed weight consequence, all ingredient/station/obstacle/VFX families are specified, the full game-specific UI system demonstrates every required control state and input/feedback owner, and desktop plus mobile visual review finds no unreadable or clipped critical content. Subjective acceptance remains the user's explicit Phase 08 decision.

## Source and Truth Labels

**[GDD-TRUTH-1]** The user request, mobile-first constraint, exclusion of visual-novel format, gate order, and requirement for real generated Art Bible imagery are CONFIRMED. All mechanics, content counts, budgets, visual choices, monetization hypotheses, and acceptance thresholds are DESIGN TARGETS until prototype or player evidence exists. Originality, market demand, acquisition cost, retention, conversion, and revenue are UNKNOWN in this GDD and belong only to later evidence gates.

## Fantasy, Promise, Audience, and Genre

**[GDD-GENRE-1]** Genre is a deterministic tactile physics puzzle for puzzle-curious mobile players aged 10+. The fantasy is conducting a miniature kinetic kitchen. The honest store promise is: tug the kitchen mobile, cook each ingredient in sequence, and use every new weight to solve the next swing.

## Design Pillars

**[GDD-PILLARS-LOCK]** Consequential cooking, readable-before-clever outcomes, one expressive drag-release gesture, and fast penalty-free recovery are release invariants. If prepared weight does not change later routes or players cannot predict the first contact, the game returns to GDD revision instead of being disguised with extra content or art.

## Camera, Dimension, and Controls

**[GDD-CAMERA-1]** The intended product frame is portrait with the complete mobile and all stations visible between safe-area HUD bands. Phase 05 must select 2D, 2.5D, 3D, or hybrid after market review. Core control is one drag-release tug; gameplay has no camera manipulation, multi-touch, tilt, or text entry.

## State and Content Inventory

**[GDD-INVENTORY-1]** Required gameplay states are fresh, acquired, aiming, resolving, transformed, scorched, paused, success, failure, interrupted, and local-content error. Required content families are ceiling rails, arms, cords, handles, four qualitative weight classes, raw/prepared ingredient pairs, five station types, rubber bumpers, brittle garnish, sliding rails, order tickets, tug knots, scorch mitts, recipe stamps, copper spoons, and contact/transformation/result effects.

## Difficulty, Progression, and Economy

**[GDD-DIFFICULTY-1]** Difficulty grows through swing phase, order dependency, mobile topology, obstacle use, station schedule, and the usefulness of transformed weights while recipe length and touch target size remain bounded. Five trays contain 60 authored levels. Recipe stamps unlock levels and copper spoons unlock only cosmetic countertop cloths.

## Monetization Constraints

**[GDD-MONETIZE-1]** No purchases or ads exist in prototype or initial comprehension testing. The only launch hypothesis is a free first tray and one transparent full-cookbook unlock. Consumables, subscriptions, forced or rewarded ads, random rewards, energy, paid hints, and paid difficulty bypasses are prohibited by this revision.

## UX and Accessibility

**[GDD-UX-LOCK]** All required screens, state transitions, safe-area behavior, errors, and controls must be defined before visual generation. Identity and consequence use silhouette, icon, ordinal, material, and text rather than color alone. Type scaling, high contrast, reduced motion, captions, separate audio controls, haptic control, focus visibility, and 44×44 targets are required.

## Audio and VFX

**[GDD-AV-1]** Audio is material-specific and event-owned: cord creak, ceramic proximity tick, station confirmation, dry scorch clack, and up-to-four-note completion chime. VFX is contained and explanatory: flour, steam, ice, glaze, soot, and directional contact rings never cover actor silhouettes. Reduced motion uses static rings and two-frame material swaps.

## Analytics and Technical Constraints

**[GDD-ANALYTICS-1]** Consented events may record onboarding completion, level start, tug band, predicted versus actual first contact, correct transform, scorch cause, retry, completion, spoon result, settings changes, and session exit. No raw touch paths, identity, contacts, or ad profile are required. Gameplay remains offline and deterministic; analytics failure cannot alter a level.

## Risks and Falsifiers

**[GDD-FALSIFIER-LOCK]** The game must be revised if fewer than 70% of post-Level-3 testers predict first contact, fewer than 70% identify the changed-weight consequence, motion-first store tests read as generic cooking, deterministic replays diverge, or level variety depends on smaller targets or hidden forces.

## Acceptance Criteria

**[GDD-ACCEPT-LOCK]** Advancement requires the deterministic replay, Level-3 completion, consequence comprehension, retry latency, safe-area, target-size, content-bound, visual coverage, UI-system, and manual Art Bible review criteria defined above. Machine completeness is advisory evidence; only the user's explicit Phase 08 decision can authorize design lock and prototype work.
