جزیرهٔ فانوس (Lantern Island): طراحی کامل بازی و راهنمای ساخت
نسخهٔ 1.6 · 2026-11-14 · نام: Lantern Island (جزیرهٔ فانوس). پدر یا مادر، فانوسبانِ فانوس دریایی است و شبها شهرِ بندری را میسازد؛ کودک روزها باغِ جزیره را پرورش میدهد. نخست یک اپ؛ پیش از نخستین تبلیغ به دو اپ تقسیم میشود: Lantern Island (برای والدین) و Lantern Island Kids (هرگز تبلیغ ندارد). ساختهشده با Unity 6 برای Google Play، App Store و وب. زبان بازی انگلیسی است.
این سند تنها مرجعِ درستِ پروژه است. همهٔ ایدهٔ بازی، هر قاعده و هر عدد، معماری فنی، خطرهای باز و برنامهٔ ساختِ آن با Claude Code در آن آمده است. هرگاه طراحی تغییر کند، نخست این سند و سپس کد تغییر میکند.
عددهای این سند مقدارهای آغازیناند. هر عدد بخش 6 باید در آزمونهای بازی تنظیم شود.
فهرست مطالب
- چشمانداز و اصول
- مخاطبان و سطحهای سنی
- واژهنامه
- بازی والدین: قاعدههای جزیرهٔ فانوس
- مرحلهها، دشواری، باختن، شهرِ بندری
- اقتصاد (همهٔ عددها)
- دنیای کودکان: باغِ جزیره
- پل میان دو دنیا
- امکانات خانواده، گزارشها، اعلانها
- مدل کسبوکار
- حریم خصوصی و ایمنی کودک
- معماری
- خطرها، پرسشهای باز، رقیبان
- نقشهٔ راه
- آمادهسازی Claude Code
- فهرست کارهای کوچک برای Claude Code
- پیوست: قالب دادهها
- پیوست: دفتر تصمیمها
- پیوست: بستهٔ محتوا و تصویرها
1. چشمانداز و اصول
1.1 ایده در یک بند
بیشتر بازیهای آموزشی کودکان پولیاند. جزیرهٔ فانوس رایگان است، چون والدین بهجای پول با بازی کردن میپردازند. این محصول دو بازیِ بههمپیوسته است که یک حساب خانوادگی مشترک دارند. کودک (4 تا 8 ساله) یک جزیرهٔ آموزشی را میگردد. پدر یا مادر یک بازی پازلِ کوتاه بازی میکند. بردنِ مرحلههای پازل نور میسازد و نور، منطقههای تازهای از جزیرهٔ کودک را از زیر مه بیرون میآورد. کودک میبیند که پرتو فانوس دریایی روی مه میچرخد و میشنود: «مامان اینجا را برایت روشن کرد.»
1.2 چرا متفاوت است
رایگان بودن، تفاوتِ اصلی نیست. Khan Academy Kids هماکنون برای خانوادهها رایگان است، بیتبلیغ و بیاشتراک. تفاوتهای اصلی اینهاست:
- پیوند پدر و مادر با کودک. هر طرف به طرف دیگر کمک میکند. والد دنیای کودک را باز میکند؛ کودک کرمهای شبتاب میفرستد که به والد کمک میکنند. هیچ رقیبی بازیکنِ دوم ندارد.
- یک زبانِ روشن: انگلیسی. کل بازی، هر دو دنیا، انگلیسی است: هر دستورِ گفتاری، هر واژه روی صفحه و نکتههای فرزندپروری. یک زبان، محتوا را درست و هزینه را کم نگه میدارد؛ همهٔ متنها بهصورت کلید ذخیره میشوند، پس زبانهای دیگر بعدها میتوانند بیایند.
- یک بازیِ والدین که ارزش بازی کردن دارد. جزیرهٔ فانوس یک بازی پازلِ واقعی است، نه یک کار اجباری.
- پازلِ نقاشی، نه مسابقهٔ جمعکردن. هر مرحله تصویری است که زیر صفحهٔ بازی پنهان شده و بازیکن با جفتکردنهای خودش آن را رنگ میکند. رنگها مثل رنگِ نقاشی با هم مخلوط میشوند، پس یک خانهٔ بنفش به یک جفتِ قرمز و یک جفتِ آبی روی خودش نیاز دارد: بازیکن برنامه میریزد، نتیجه را پیش از حرکت میبیند (پیشنمایشِ رنگ) و با یک تصویر تمام میکند، نه با یک امتیاز. بیشتر بازیهای سهتایی (match-3) از بازیکن میخواهند جمع کند و پاک کند؛ این یکی میخواهد نقاشی کند (جهتگیریِ صاحب پروژه، 2026-11-17).
پیام بازاریابی: «دنیای کودکت را با بازیِ خودت روشن کن.»
1.3 اصول بنیادی
این قاعدهها در هر بحثی برندهاند. اگر یک ویژگی با یکی از آنها ناسازگار باشد، آن ویژگی تغییر میکند.
- کودک هرگز بهخاطر والد متوقف نمیشود. منطقهٔ نخست رایگان است و همیشه بازیکردنی است. هر منطقهٔ دیگر با گذشت زمان، با مهتاب (بخش 6.4)، خودش باز میشود. بازیِ والد فقط آن را سریعتر میکند.
- کودک هرگز نمیبازد. نه حالتِ شکست، نه صدای پاسخِ نادرست، نه زمانسنج، نه از دست دادنِ چیزی که کودک دارد.
- بازیِ والدین باید بهتنهایی سرگرمکننده باشد. باختن هیچ هزینهای ندارد. نه جان، نه انرژی، نه پرداخت برای ادامه.
- هر کاری که والد میکند در دنیای کودک دیده میشود، و هر کاری که کودک میکند در دنیای والد دیده میشود.
- بخش کودکان هیچ تبلیغ، خرید، گفتوگو، پیوندِ بیرونی یا ردیابی ندارد. هرگز.
- بازی هرگز به کودک نمیگوید از والد بخواهد بیشتر بازی کند. منطقههای بسته فقط زیر مهاند. نه شمارنده، نه اصرار.
- نشستهای کوتاه. مرحلههای والدین 2 تا 4 دقیقه طول میکشند. فعالیتهای کودک 2 تا 4 دقیقه. پاداشها پس از حدود 30 تا 40 دقیقه بازیِ والد در روز متوقف میشوند.
1.4 دنیای داستان
جزیرهای کوچک در دریایی شبانه آرام گرفته است. روی صخرهای کنار آن، فانوسی دریایی ایستاده است. والد، فانوسبانِ این فانوس است. کودک با همراهی کوچک و درخشان به نام اومل (Omel) روی جزیره زندگی میکند که از نورِ فانوس زاده شده است. جزیره در آغاز، جز ساحل، زیر مه است. هرچه فانوس نیرومندتر شود، مه منطقه به منطقه عقب میرود. کودک در هر منطقه با یادگرفتن، باغی پرورش میدهد.
2. مخاطبان و سطحهای سنی
2.1 کودکان
سن 4 تا 8 سال، در دو سطح دشواری. والد هنگام ثبتنام سن کودک را وارد میکند. سپس بازی هر مهارت را جداگانه تنظیم میکند (بخش 7.6).
| سطح | سن | ریاضی | زبان | مهارتهای دیگر |
|---|---|---|---|---|
| غنچه (Bud) | 4 تا 5 | رنگها، عددهای 1 تا 10، بیشتر/کمتر، شکلهای پایه | صدای حرفها، شناختن حرفها | الگوها، احساسات |
| شکوفه (Blossom) | 6 تا 8 | جمع و تفریق تا 100، ضربِ ساده، پول | خواندن واژهها و جملههای کوتاه، املا | منطق، علومِ ساده، زمان و ساعت |
هر دو سطح از همان شش منطقه استفاده میکنند. یک کودک 4 ساله و یک کودک 8 ساله در همان جنگل بازی میکنند، اما کارهای متفاوتی میگیرند. اینکه کودک چه چیزی را و به چه ترتیبی یاد میگیرد، از مسیر یادگیری پیروی میکند (7.5).
2.2 والدین
بزرگسالانِ 25 تا 45 سالهٔ پرمشغله که در فاصلههای کوتاه با گوشی بازی میکنند: در اتوبوس، هنگام ناهار، پیش از خواب. آنها بازیهای سهتایی (match-3) مثل Royal Match را از پیش میشناسند.
2.3 گسترشِ بعدی: دانه (Daneh)، سن 2 تا 3
در نسخهٔ 1 نیست. کودک 2 ساله نمیتواند تنها بازی کند و نشان دادنِ پیشرفتش دشوار است. وقتی افزوده شود:
- حالتِ «با هم بازی کنیم»: والد و کودک کنار یک دستگاه مینشینند؛ نوری که والد میسازد بیدرنگ روی جزیره میافتد.
- فقط لمس، دکمههای بسیار بزرگ، بدونِ کشیدن، بدونِ پاسخِ نادرست.
- فعالیتهای 1 تا 2 دقیقهای: صدای جانوران، ترکاندنِ حبابهای رنگی، بزرگ و کوچک، شمردن تا 3 با یک آهنگ، اندامهای بدن.
- گیاهان هرگز تشنه نمیشوند. نشست پس از حدود 10 دقیقه آرام به پایان میرسد.
3. واژهنامه
در کد، فایلهای داده و آزمونها دقیقاً همین واژههای انگلیسی به کار میروند. معادلِ فارسیِ هر کدام در این ترجمه آمده است.
| واژه | معنا |
|---|---|
| Keeper (فانوسبان) | یک بازیکنِ بزرگسال. والدِ اصلی، والدِ دوم یا فانوسبانِ مهمان. |
| Child (کودک) | نمایهٔ یک کودک. به یک خانواده تعلق دارد. |
| Family (خانواده) | حساب کاربری. فانوسبانها و کودکان را در خود دارد. |
| Lantern Island (جزیرهٔ فانوس) | کل بازی، و بازی پازلِ والدین در آن. |
| Island garden (باغِ جزیره) | دنیای کودک: باغها و منطقههای جزیرهٔ فانوس. |
| Lantern (فانوس) | یک مهره روی صفحهٔ بازی جزیرهٔ فانوس. رنگش قرمز، زرد یا آبی است. |
| Pearl (مروارید) | نوعِ چهارمِ مهره. جفتکردنِ مرواریدها رنگ را از خانهها میشوید. |
| Cell (خانه) | یک مربعِ صفحهٔ بازی. یک فانوس و یک حالتِ رنگ در خود دارد. |
| Paint (رنگ) | حالتِ رنگیِ یک خانه. حداکثر دو رنگِ اصلی. |
| Hidden object (شیءِ پنهان) | شکلی زیر صفحه که وقتی همهٔ خانههایش رنگِ درست بگیرند، پدیدار میشود. |
| Level (مرحله) | یک پازلِ جزیرهٔ فانوس. |
| Harbour (بندر) | گروهی از 10 مرحله با یک صحنه و یک مکانِ شهری برای ساختن. 50 بندر در نسخهٔ 1. |
| Role (نقش) | کارِ یک مرحله در بندرش: معرفی، تمرین، ترکیب، نفستازهکردن، گسترش، چرخش، استراحت، مرحلهٔ پایانی (boss). |
| Light (نور) | واحدِ پولی که از بردنِ مرحلهها میآید. منطقههای جزیره را باز میکند. برای هر کودک جداگانه شمرده میشود. |
| Moonlight (مهتاب) | نوری که هر شب خودبهخود میرسد. |
| Seed (بذر) | واحدِ پولی که از پیدا کردنِ شیءها میآید (شیءهای پنهان، چراغهای راهنما، موزاییکها). گیاهان و وسایلِ آواتار با آن خریده میشوند. |
| Star (ستاره) | واحدِ پولِ خودِ والد. یکی برای هر مرحلهٔ بُرده. برای ساختنِ شهرِ بندری خرج میشود. |
| Harbour town (شهرِ بندری) | شهرِ خودِ والد پیرامونِ فانوس دریایی. یک مکان برای هر بندر، 50 مکان روی هم. |
| Produce (محصول) | میوه و سبزیِ باغِ کودک که بهعنوان هدیه برای فانوسبانها فرستاده میشود. |
| Pantry (انبار) | جایی که فانوسبان محصول را نگه میدارد. گنجایشِ 30. |
| Special touch (جلوهٔ ویژه) | افزودهای اختیاری روی یک مکانِ شهری، ساختهشده با محصول. |
| Firefly (کرم شبتاب) | یاریرسانی که کودک با تمام کردنِ فعالیتها برای فانوسبانها میفرستد. |
| Region (منطقه) | یک ناحیه از جزیره. یک حوزهٔ یادگیری. |
| Activity (فعالیت) | یک مینیبازیِ آموزشی در یک منطقه. از روی یک قالب ساخته میشود. |
| Template (قالب) | یک نوعِ فعالیتِ بازاستفادهپذیر (روی هم 10 تا). |
| Skill (مهارت) | یک چیزِ یادگرفتنی، مثل «شمردن تا 20». 5 گامِ دشواری دارد. |
| Garden (باغ) | گیاهانی که کودک در یک منطقه پرورش داده است. |
| Omel (اومل) | همراه و راهنمای گفتاریِ کودک. |
| Keeper's notebook (دفترچهٔ فانوسبان) | صفحهٔ گزارشِ والد دربارهٔ کودک. |
4. Parents' game: Lantern Island rules
4.1 Summary
Lantern Island is a painting puzzle played with match-3 moves on a night sea. Every level hides a picture under the board (a boat, a whale, the lighthouse): the player's own matches splash their colour onto the cells under them, colours mix like paint, and the level is won when the picture shows in its colours. Mixed colours are the skill: an orange cell needs red and yellow, a green one yellow and blue, a purple one blue and red, and a second coat makes a cell pure again. A finished picture comes alive in full colour and goes into the keeper's album. On top of that one engine sit ten different level goals (section 4.12): collecting, finding hidden objects, lighting beacons, dyeing, painting a mosaic, scraping barnacles, painting a lighthouse beam across the board, bringing boats home, cleaning grime and stopping squid ink. On painting goals the player asks three questions at once: which colour, where, and in what order.
The lanterns splash paint, not coloured light. The mixing rules are paint rules (red and yellow make orange). Coloured light mixes differently, and a learning game must not teach that wrongly. All story text must say "paint" or "colour", never "coloured light".
4.2 The board
- Grid of 7 columns by 8 rows by default. A level may define a smaller board, or one more column: 8 by 8 is the largest board (49 of the 500 levels use it).
- Coordinates are
[col, row], zero-based, origin at the top left. - Every cell holds exactly one piece after the board settles, except rock cells.
- Four piece types. Three lanterns: red, yellow, blue. Each colour also has a shape, so the game works without colour vision: red is a circle, yellow is a triangle, blue is a diamond. The lanterns are glass lanterns whose glass has that shape, with a brass cap, a candle and a cage. A big lantern (section 4.4) is an old hurricane lantern (owner, 2026-11-21): a copper frame around a glass globe in its colour, its shape a bright emblem on the base and its flame. On the board it is drawn about a fifth larger than a normal lantern, with a stronger golden halo, and breathes slowly, so it is seen at once (owner, 2026-11-21). The fourth piece is the pearl: a white round piece. Matching pearls rinses the paint off the cells under them (section 4.5).
- Why four pieces and not three: with three types the board cascades about four times after every move and pops about 35 pieces, so the player cannot see what their move did. With four types a move causes about one cascade and pops about 10 pieces. Measured with the simulator in
tools/lanternisland_sim.py. - The training levels 1 to 10 have no pearls (owner, 2026-11-22). Measured with today's rules on those levels: without pearls about a quarter of the board changes per move (with pearls about a fifth), so the player still sees what their move did, while a casual player wins four to ten times as often, because a quarter of the board no longer sits in the way without ever painting. The pearl comes with its own lesson on level 11 (5.3).
- A fifth piece, the boat, appears only in "Boats home" levels. A boat never matches and falls like any piece when the lanterns under it are cleared (section 4.12).
- Special cells (rocks, dark cells, sponges, old paint, barnacles, grime, ink) are introduced over the harbours; see sections 4.12 and 5.1.
4.3 Moves
- The only move is the classic swap: exchange two orthogonally adjacent lanterns.
- A swap is valid only if it creates at least one match of 3 or more in a row or a column, or if it fires a special lantern (section 4.7). An invalid swap animates back and costs no move.
- A valid swap costs one move.
- After a swap: matched lanterns pop, lanterns above fall, new lanterns enter from the top, and any new matches pop too (a cascade). This repeats until the board is stable.
- All randomness comes from the level seed, so a level replays identically for the same moves.
- If no valid swap exists, the board is reshuffled (same seed stream) at no cost. A swap that fires a special lantern counts as valid, so a board with a usable special is never out of moves. A reshuffle keeps special lanterns and boats in their cells; only normal lanterns and pearls are shuffled.
- The starting board never contains a ready-made match and always has at least one valid swap.
- How a move looks (owner, 2026-11-21: "the lanterns do not fall"): the matched lanterns flash together, then burst into glass shards with a ring of light in their colour. The lanterns above fall with gravity (one cell takes about a sixth of a second, six cells under half a second), land with a small squash and bounce and swing on their handles; new lanterns drop in one after another. The lanterns that make a special fly together into its cell, and the special pops in with a flash (a white lantern shimmers in rainbow colours, a prism spins in). A used big lantern sends out a shockwave and its 3 by 3 swells outwards with a small screen shake; a white lantern's clean wave washes its 3 by 3; a prism's beam sweeps its row; two specials together give a larger ring, a flash and a stronger shake. All of it is our own code, no animation package (T13-003).
4.4 Painting
- Only the player's own match paints. The matches created directly by the swap paint the cells where the matched lanterns stood, in the colour of that match.
- Cascade matches never paint. They only give score. This keeps the board predictable: a random falling lantern can never ruin the player's plan.
- If one swap creates two matches (one for each swapped lantern), both paint.
- Paint from a special lantern the player fires (section 4.7) is the player's own paint too.
4.5 Colour mixing
Each cell remembers up to two different primary colours, ordered by time.
- Painting colour C onto a cell:
- Second coat. If C is already the newest colour of the cell, the cell becomes pure C.
- If C is held but older, C becomes the newest colour.
- Otherwise C is added as the newest colour. If the cell now holds three colours, the oldest is removed.
- A pearl match rinses its cells: they become unpainted.
- The visible colour of a cell comes from the colours it holds:
| Colours held | Visible colour |
|---|---|
| none | unpainted |
| red | red |
| yellow | yellow |
| blue | blue |
| red + yellow | orange |
| yellow + blue | green |
| blue + red | purple |
Because a new colour replaces the oldest one, and a second coat makes a cell pure, every mistake can be repaired with at most two more matches. There is no "mud" and no dead cell. The rules engine has a test that proves this for every possible cell state (backlog task T02-026).
Examples:
- A cell must be purple. It is red, then by mistake yellow (orange). One blue match makes it yellow + blue (green). One red match makes it blue + red (purple).
- A cell must be red but is purple (blue + red). One more red match is a second coat: pure red.
Each mixed cell shows two small corner symbols for the colours it holds (circle and diamond for purple, and so on), again so that colour vision is not required. A painted cell shows its paint clean; a picture cell painted in the wrong colour gets a red ring and the symbol of the colour it needs at full strength (owner, 2026-11-21).
4.6 Hidden objects
Hidden objects are one of the ten goals (4.12). Beacons and mosaics use the same rules, but their targets are visible from the start.
- A level defines 0 to 3 hidden objects. Each has a required colour and a list of cells.
- Before it is found, an object shows only as a faint silhouette.
- An object is found the moment all of its cells show its required colour. It is collected automatically with a short animation, and gives 1 seed. This holds for every kind: hidden objects, beacons and mosaics alike (finding is finding), at most 3 seeds per level (6.2).
- After an object is found, its cells no longer matter. Later paint cannot "unfind" it.
- A finished cell stays finished (owner, 2026-11-20). While an object is being painted (not found yet; in an ordered level only the current object), a cell of it that already shows its colour keeps that colour: no match, special lantern or rinse changes it. Every correct cell is progress the player keeps, so a picture fills up steadily and a careless match cannot undo it. A wrong colour on an unfinished cell still costs extra matches, so mixing stays a skill. The paint preview leaves finished cells out.
- From harbour 12, an object may need two colours in different parts ("two-colour objects").
Pictures (owner's direction, 2026-11-17). The level's main object is a picture: one object with several parts, each in its own colour (primary or mixed), that covers a large part of the board and shows something the player recognises (a red boat with a yellow sail, a green turtle, the lighthouse). It uses the rules above unchanged: the picture is found, and the level won, when every cell of every part shows its colour. The faint silhouette shows the outline of each part and, as a small corner mark, the colour it needs. When the picture is found, its cells turn into the finished illustration with an animation, and the picture is kept in the keeper's album. Levels 1 to 20 are picture levels first, as the test of this direction (5.3); the other goals (4.12) come back as twists on picture levels after the test.
4.7 Special lanterns (the merge layer)
The ladder (owner, 2026-11-27, T07-052; rules in T03-010). Special pieces are earned, and the big lantern, the game's symbol, is rare and very special. The rules and the simulator play the ladder for a level with "specials": "ladder" (C# SpecialRules.Ladder), and since T03-012 every level has it, with its move budget re-tuned; the board screen shows it (T03-013). The previous rules (this section before 2026-11-27, in the git history) stay in the code for the rules tests with reference values and the hand-made golden games 9001 to 9004. On 12 levels of each goal type the ladder moved the robot's win rate by -12.5 points (quota), -7.3 (clean, path), -4.2 (barnacles), -3.1 (find), -1.0 (boats), +1.0 (mosaic), +2.1 (collect, ink) and +6.2 (beacons), before the re-tune.
| How it is made | Result | Effect when used |
|---|---|---|
| An L or T of two lines of 3, or a 2×2 square of one colour (falling lanterns make it too, from an L or T) | Small piece, in the colour of the match | Paints itself and its 4 neighbours in its colour, only cells where that colour brings them nearer to their target |
| Two small pieces swapped with each other | Mixing lantern, with the colours of both | Swapped with any neighbour, it paints the 3×3 area around it, each cell with those of its colours that bring it nearer to its target |
| 4 in a line, from the player's own swap | Prism | Swapped with a lantern, it paints the whole row it ends in, in that lantern's colour |
| 5 or more in a line (lanterns or pearls), from the player's own swap; or two prisms swapped with each other | White lantern | Swapped with any neighbour, it removes all paint in the 3×3 area around it |
| Two white lanterns swapped with each other | Big lantern | Swapped with any neighbour, it finishes one whole figure |
Simulated (T07-052, 236 robot games on 59 picture levels): the robot wins 88.6 % against 96.2 % with the previous rules; a big lantern appears in one level in 3 to 7, depending on how hard the player goes for it. The levels are re-tuned for the ladder (T03-012).
Making a special.
- A 2×2 square of one colour is a match of its own (new): the swap makes four lanterns of one colour in a square and no line of 3 through the swapped cell. Its four cells pop and paint like any match and leave a small piece. Only the player's swap makes a square; falling lanterns do not.
- From the player's own match, the special appears at the swapped cell that is part of the match; if both swapped cells are part of matches, at the cell the player dragged.
- Falling lanterns (cascades) make only small pieces, at the crossing cell of an L or T. A line of 4 or 5 from falling lanterns makes nothing. Making it paints nothing (4.4).
- Pearls make only a white lantern (5 or more in a line); a small piece and a prism need a match of lanterns.
- The other lanterns of the match pop as usual.
Small piece.
- It has a colour and matches with normal lanterns of that colour.
- It fires when it is part of the player's own match, or when the player swaps it with any neighbour (always valid, one move). It paints its own cell and its 4 neighbours, each only if its colour brings that cell nearer to its target colour (4.5); other cells are left as they are. Rocks and cells under a barnacle are not painted.
- Two small pieces swapped with each other make a mixing lantern (below); neither fires.
- A small piece caught in a cascade match is used up without painting (a short fizzle).
Prism. As before: swapped with a lantern, it paints the whole row it ends in, in that lantern's colour (normal paint rules of 4.4 and 4.5, own paint for every goal, washes ink); with a small piece, in the small piece's colour, and the small piece fires as well; with a pearl it rinses the row. Two prisms swapped with each other make a white lantern in the cell the player dragged to; neither fires. Prism and white lantern, mixing lantern or a boat: the swap bounces back, no move.
Mixing lantern (owner, 2026-11-27: "New rule + new piece").
- Two small pieces swapped with each other make it in the cell the player dragged to (one move; neither small piece fires). It keeps both colours: red and yellow make an orange mixing lantern, yellow and blue a green one, red and blue a purple one; two of one colour make a mixing lantern of that colour only.
- It has no colour to match with and never matches; a cascade leaves it where it is.
- Swapped with any neighbour (not a prism or a boat), it fires: every cell of the 3×3 area around the cell it ends in gets each of its colours that brings the cell nearer to its target colour (4.5), each judged on the paint before the move, red before yellow before blue. A cell that needs orange gets red and yellow at once. Rocks and cells under a barnacle are not painted. It paints after white lanterns and prisms and before small pieces.
- Two mixing lanterns swapped with each other: both fire. A special swapped with it fires as well.
- Simulated (236 robot games on 59 picture levels): wins 87.3 % against 88.6 % without it; one game in 12 makes one.
White lantern. As before: swapped with any neighbour, it removes all paint in the 3×3 area around it; found objects stay found. A white lantern and a small piece: the white lantern fires first, then the small piece. Two white lanterns swapped with each other make a big lantern in the cell the player dragged to; neither fires.
Big lantern.
- It has no colour and never matches. It is the old hurricane lantern of 4.2.
- Swapped with any neighbour (not a boat or another big lantern), it fires: the nearest figure not yet found (hidden object, beacon or mosaic tile; nearest by the fewest steps to one of its cells, the first in the level file on a tie) is finished at once: every cell gets exactly its colour, barnacles, ink and sponges on its cells go, and the figure is found. With figures in a set order, it finishes the next one. A level with one figure is then won.
- A special swapped with it fires as well (a prism paints nothing, as the big lantern has no colour).
- In a level without figures to find it is not made: two white lanterns swapped there both fire.
For every special.
- There is no tapping of special lanterns; every special is used by a swap or a match.
- A used special is removed; lanterns fall and new ones enter, and any new matches are cascades.
- Paint never fires another special lantern.
- Goals: a used small piece counts as one lantern of its colour for a harvest goal; mixing lanterns, prisms, white lanterns and big lanterns count as no colour.
- Undo (4.9) takes back a move with specials exactly like any other move.
- Mirror board (harbour 19): all of the player's own paint is mirrored, the specials' paint included, and so is a white lantern's rinse. Mirrored paint washes no ink. A big lantern's figure is not mirrored.
- The robot player of the level tools (5.2) may swap any special and goes for the ladder when it scores best, as a skilled player would.
Decided with the ladder (owner, 2026-11-27: "use your suggestions").
- The keeper's gifts after losses (5.4, 6.9) give small pieces where they gave big lanterns, with the same numbers (a gift big lantern would finish a figure); tools/help_check.py must still pass.
- The picture levels' lessons (5.3) follow the ladder: level 4 teaches the line of 4 and the prism, level 5 the L or T and the small piece, level 14 two prisms that make a white lantern.
- The big lantern is gold all over, its globe warm white, with a gold star on the tank (no colour), rendered with the same Blender script (tools/blender/render_lanterns.py); the three coloured big lanterns go (owner, 2026-11-27: "the big lantern can be only one"). Gold all over rather than only a golden globe, so it is never taken for the yellow one.
- The look of the pieces (owner, 2026-11-27: "keep the lantern style", "take this set"): the small piece is a short, wide candle in its colour with its shape pressed into the wax and a flame; the mixing lantern a stained-glass lantern with a brass dome, its side panels and the halves of its middle arch in its two colours; the white lantern a silver lantern whose frosted glass is a crescent moon, with moonlight and small stars (it washes paint, and its shape is unlike every other piece and the pearl); the prism stays the crystal. Drawn in tools/draw_art.py.
- In a level without figures to find, the big lantern is not made: two white lanterns swapped there both fire.
4.8 Winning and losing
- Every level has one goal; from harbour 6 the boss level has two (section 4.12).
- The level is won when every goal is met with moves left or on the last move.
- The level is lost when the moves reach zero and the goal is not met. Section 5.4 covers what happens then.
- The goal is always in view: above the top bar the level's number and title ("Level 3: The Blue Fish") stay for the whole level; the top bar counts the moves and the progress (owner, 2026-11-21).
- The goal is shown as a picture, not as sentences (owner, 2026-11-22: "redesign both start card and goal line"). The start card shows, from the top: the level and its title; the goal picture as its cells in their finished colours (what the player must paint, cell by cell); one row per colour of the picture with its paint, its name, how many cells need it and its recipe drawn with the lanterns ("Orange × 3 = red lantern + yellow lantern", "Red × 6 = red lantern"); the moves as a big number; the story in one small line; anything new on the level in its own row; "Tap to start". A goal without a picture (collect, barnacles, beacons, mosaic) shows its sentence in place of the picture and the colour rows. While playing, the goal line above the top bar becomes a row of colour chips, each the paint of one colour with the number of its cells still to paint (a tick once all are done); a tap on the chips or on the small picture map opens the same goal card again ("Tap to go on"), so a player who lost track mid-level sees the plan and the recipes at once.
- The picture's progress is drawn, not only counted (owner, 2026-11-22): above the board, between the buttons and the seeds, a small map of each hidden picture's shape; a finished cell lights up there in its colour with a pop, and the cells still hidden stay dark. On the board a gold tick marks every finished cell. The map has its own tall row, right of the buttons, from the board's frame up to the top bar, and the three seeds sit in the top bar, right of the paint bar (owner, 2026-11-27, T07-073: the map was too small to see on every level, and two dots on the 6-wide boards after the bigger buttons of T07-029). Every figure's small cells are at least a quarter of a board cell; the board is about 8 % smaller for it.
Level map inside a harbour (T07-021; owner, 2026-11-23: "if a player or tester wants to play previous levels now there is no option"). The start card and the end card carry a gold "Levels" button in their bottom row, inside the card; the end card also has "Next level" after a win and "Try again" after a loss beside it (T07-067, owner 2026-11-24: "add a next button for the next level"; a tap elsewhere on the end card still goes on) (T07-066: a tab under the card's edge fell off a phone's screen); a tap on it opens the harbour's map:
- Title "Harbour 1: Quiet Beach", with arrows to the other harbours the player has reached.
- Its ten levels on a winding path, five to a row: a won level is gold with its number and its seeds (three dots, the ones earned filled); the levels reached and not yet won are bright and open (the next one first); later levels are dim and locked. The level on the board has a ring, and the tenth, the boss, is larger and says "Boss".
- A tap on an open or won level plays it (its start card first); a won level can always be played again, and its best seeds stay (4.8, progress). A tap elsewhere goes back to the card it came from.
- Reached means every won level, the first level not won, and the one after the furthest won; a level opened from the link (?level=N, testers) is open too.
Harbour map (T07-022, 2026-11-25): a gold "All harbours" button on the level map opens the map of all 50 harbours, ten to a page (two columns of five) with arrows between the pages. A harbour the player has reached shows "Harbour 12", its name and its levels won ("7 / 10"), gold when all ten are won; a tap opens its level map. A locked harbour is dim and shows its name only. A tap elsewhere goes back to the level map. The names come from the town's places (town.json, one place per harbour, section 8).
The keeper's album (T07-035, 2026-11-25; design 4.6): every picture the keeper finishes is kept. A gold "Album" button beside "All harbours" on the level map opens it: "The keeper's album", the finished pictures four to a row and twelve to a page (arrows between pages), each with its level's number and title ("13 The Whale"). A picture shows its drawn illustration (docs/art/board/picture-NNN.svg) where one exists, else its cells in their colours. A picture is kept the moment its level is won with it found, even if the level is later played again; the album is saved on the device beside the progress and survives a restart. Empty, it says "Finish a picture and it will wait for you here." A tap elsewhere goes back to the level map.
Back (T07-032, 2026-11-25): Android's back button and the browser's back button do the same, and never leave a level without asking:
- With a card open (the map, the harbours, the album, "?", the colour book, a first-time explanation, the goal card, the gift card, the parenting tip), back closes it, like a tap elsewhere on it.
- During a level with moves played, back asks: "Leave this level? Your moves on this board will be lost." with "Keep playing" and "Leave". Leave goes back to the level's start card with a fresh board (its Levels button leads on); it counts as no loss and gives no gift. Back again, or a tap elsewhere, keeps playing.
- On the start card, the end card or a board with no move played, back does nothing: the game is closed with the phone's home button or the browser's tab. The web page keeps one history entry of its own, so the browser's back reaches the game instead of leaving the page.
Switches (T13-060, T07-028, 2026-11-26): the "?" card ends with three switches, each a round button with its state in words: shake and vibration, sounds, and music. A tap switches one; each is kept on the device and starts on. Sounds and music follow the sound list (docs/audio/parents-sounds.md); until the sounds exist, the two switches are only kept. A fourth switch sets the text size (T07-026, 2026-11-26): normal or large (1.25 times the line height). Large text makes the cards' lines taller and wraps them sooner, so the cards grow instead of their words shrinking; a card that no longer fits the safe area is scaled down as a whole, as before. The open card shows the new size at once; the top bar takes it with the next level. Kept on the device; normal at the start.
Safe areas (T07-031, 2026-11-26): the board, the top bar, the buttons, the bubble and every card stay inside the phone's safe area (Screen.safeArea), never under a notch, a camera hole, rounded corners or the home bar; only the harbour picture behind fills the whole screen. Portrait screens from 16:9 to 21:9 are laid out alike: the content keeps its size rule (the board as large as fits) inside the safe area, centred in it. When the safe area changes (a turned phone, a browser bar), the board is laid out again.
Tap sizes (T07-029, 2026-11-26): every button answers to a tap at least 44 CSS pixels wide (Apple's 44 points) on the smallest phone, 360 by 640 with an 8-wide board, where one board unit is about 41 pixels. So the four round buttons above the board (eye, undo, "?", colours) stand 1.1 units apart and answer within 0.55 of their middle, though they are drawn smaller. Board cells are swiped, not tapped, and stay as large as the board fits: about 41 pixels on that phone, 45 or more on a 6-wide board or a larger phone.
The lighthouse bar (T07-024, 2026-11-25): how far the keeper's light has come toward the child's next region (costs in 6.3: Forest 100, Market 200, the others 300; after all six, a garden season of 300). A small lighthouse, a gold bar that fills, and "Forest: 47 / 100 light". It stands on the win card under the rewards, where each win's light visibly fills it, and on the level map under the harbour title. Until the child's side and its gate (6.5) exist, the light counts toward the regions in order, and a full bar says "Forest is open!" for the win that fills it. The numbers come from Rules/Economy.cs.
4.9 Help that prevents frustration
- Preview. While the player drags a lantern, the cells that would be painted are outlined with a dashed line in the resulting colour, before the player lets go. The cells of the match under a barnacle, which the move scrapes but cannot paint yet (4.12), are outlined too, in a pale shell colour (T07-072, owner 2026-11-26), so a line of five across two barnacles shows all five cells, not three.
- Undo. Once per level, the last move can be taken back. The board, paint, move count and random stream return exactly to the earlier state.
- Eye button. While held, the lanterns fade and the player sees the scene under the board: paint, silhouettes and found objects.
- Colour-blind support. Shapes on lanterns, corner symbols on mixed cells. Never rely on colour alone.
- Hold a picture cell to ask what it needs (owner, 2026-11-22). A finger held still on a picture cell for half a second shows a bubble with the colour it needs, the colour it shows now and the matches that get it there, the fewest first: "This cell needs red, it is blue now. Match red here, then red again." The paint rules work out the matches, so the advice is always right (at most two, 4.5). Letting go hides the bubble; the hold is never a tap or a swap.
- Colour book (owner, 2026-11-23; redrawn 2026-11-24, owner: the lists and tables were "still messy and complicated"). A palette button beside "?" opens it on every level. It is a small calculator that answers one question at a time:
- My cell is now: seven tiles, clean and the six colours; the chosen one has a gold ring. It opens on "clean".
- It needs: the six colours; it opens on the first colour the level's picture needs (red when the goal has no colours).
- The answer in a box: the cell's tile, an arrow, the lanterns to match on it (left first), an arrow and the needed tile; under it one sentence: "Match red 2 times on this cell.", "Match yellow 1 time on this cell.", "Match red, then yellow on this cell." or "It is already red. Nothing to do." Each way is the shortest that works whatever was painted last (an orange cell may be red then yellow or yellow then red), never more than two matches (4.5). The answer plays (owner, 2026-11-30, "the colour book also with animation"; design 5.3 "Show, don't tell"): the cell's tile starts in the colour it is now; each lantern of the way pulses in turn and its splash lands on the cell, which shows the colour it has after that match, until it shows the needed colour; a short pause, then it plays again while the book is open (the splash of the mixing demo, T07-078).
- At the bottom: "The last 2 matches on a cell make its colour."
- The six colours at a glance (owner, 2026-11-25: "add a part which shows only how to get the 6 colours"): "On a clean cell:" and the six colours in two columns, each as its tile = its lanterns: red = red lantern, ..., green = yellow lantern + blue lantern.
- Last line: "Tap the tiles to choose. Tap elsewhere to close." The keeper's bubble and the firefly hint wait while any card covers the board.
- The level's colours under the board (owner, 2026-11-23: "add at the bottom of the levels the way to come to those colours which are needed in that level"). Under the board (and under the keeper's bubble on the guided levels) a strip shows each colour the level's pictures need, in the order of the goal card: its paint tile, "=", and the lanterns that make it on a clean cell, as picture cells start (T07-065, owner: a pure colour needs one lantern, red = red lantern; a mix two, green = yellow + blue lantern), drawn with the lanterns themselves. A colour whose cells are all painted fades. Up to three to a row, as many rows as needed, scaled to the board's width. Levels without picture colours show none. The colour book (above) gives the way from any colour a cell has now.
- Move hint: a firefly shows the way (owner, 2026-11-20; changed 2026-11-22). On every level, when the player has not moved for a while, a firefly from the child's island flies in and settles between the two lanterns of a good move; its two cells glow warm and the dashed preview shows what the move would paint. The wait is 3 seconds on the training levels 1 to 10 (time to think first, help before feeling lost) and 10 seconds from level 11. Any touch sends the firefly away; it comes back after the next wait. The hint is free and has no limit: a limit makes players save hints and sit stuck, and the challenge comes from the moves, not from rationed help (a following of the hint still costs the move). The firefly ties the help to the family link (4.10), so the hint is the game's own and not the usual glowing lanterns.
- Which move the hint shows. The move that helps the picture most, looking ahead (it has done so since T07-036: of the best few moves, the one that also leaves the best next moves, up to three moves deep; a first coat towards a mixed colour counts less than a finished cell). A player who follows the hint wins levels 1 to 9 (a test plays them). Because it looks ahead, it may show a set-up move that paints nothing yet; level 1's first guided move is therefore a red match on the boat, so its "painted red" bubble is always true.
4.10 The child inside the parent's game
- Fireflies. Fireflies sent by the child wait in a small tray. One firefly can paint one chosen cell in the colour its hidden object needs (at most 2 per level), or give 3 extra moves after a loss. Each carries a label: "From Lena, for counting 5 shells." (T07-018, 2026-11-27:) the tray is a row under the board, shown while a firefly waits on a level with pictures; a tap on it sends the oldest firefly, the tray says "Tap a picture cell", and a tap on a cell that still needs its colour paints it (a second tap on the tray calls it back). A firefly is no move and keeps the lanterns; it may finish a picture and win the level; it takes away the undo of the move before it (that undo would take its paint back), the undo itself stays unused. Until the family link brings the child's fireflies, the welcome firefly of level 7 (5.3) is labelled "A welcome gift from the child's island." (T15-005, owner 2026-11-29:) until the family link, the child's fireflies also come on the same device: each finished activity sends one (at most 5 a day, 6.6) into a post on the device, and the keeper's next level collects them into the tray, labelled "From the child's island, for Shell counting." (the activity's title; the child's name comes with the family link). A full tray sends the rest home. The other helps (scrape a barnacle, wash ink, lower a boat) and the 3 extra moves after a loss come later.
- Scene of the day. The day's level scenes match what the child learned that day (forest animals, shells, shapes).
- Weekly drawing level. Once a week, a special level uses the child's own drawing as the background. There are no hidden objects. Every painted cell reveals that piece of the drawing, like a jigsaw. When the whole drawing is revealed, it is framed and hung in the keeper's room.
- Parenting tip card. After every few levels, a 20-second card linked to what the child practised that day. Example: "Lena practised counting today. At the shop, ask her to count the apples."
4.11 Parenting tips: content source
Tips are written for this game, not copied from a book, and reviewed by a child-education specialist before release. Reasons: no copyright problem, the tips can match the child's lesson of the day, and they are written in plain English. General parenting ideas (praise effort, name feelings) are not owned by anyone; only the exact wording of a book is protected.
Optional: an occasional quotation from Maria Montessori's "The Montessori Method" (1912), marked with her name. Check the status of the translation before commercial use. The WHO "Parenting for Lifelong Health" materials are free for non-profit use only, so using their text needs written permission.
Tip style: one action for today, under 30 words, no guilt. Examples:
- "When your child finishes something today, say 'I saw how hard you tried' instead of 'you are so clever'."
- "When your child is angry, name the feeling: 'I can see you are upset.' It teaches them to know their feelings."
- "Play for 10 minutes today and let your child lead the game."
In the prototype (T07-019, 2026-11-25): after every 3rd won level, a tap on "Next level" first opens a tip card: "A tip for today", the tip, and "Tap to go on"; then the next level loads. Until the child's side records what the child practised, the tips are general and come in turn from StreamingAssets/tips/tips.json (id, skill, text in English; never a child's name: "your child"). Every tip is marked "reviewed": false until the specialist's review above; none goes out in a release unreviewed. The turn is kept on the device with the progress.
4.12 Level goals: ten things to do
A match-3 game becomes boring when every level asks for the same thing and only the obstacles change. Lantern Island therefore has ten goals, each its own kind of puzzle. Modifiers (rocks, dark cells, fog and the rest, section 5.1) sit on top of them.
| Goal | What the player does | First level | Kind of thinking |
|---|---|---|---|
| Harvest | Pop N pieces of one type | 1 | Quick, relaxed matching |
| Barnacles | Scrape covered cells clean | 6 | Where to match |
| Hidden finds | Paint the cells of hidden objects | 11 | Which colour, where, in what order |
| Boats home | Clear lanterns under boats to bring them down | 21 | Working from the bottom up |
| Beacons | Light single lamps, each in its own colour | 31 | Precision on single cells |
| Dye the sails | Have N cells of one colour at the same time | 51 | Spreading colour without spoiling it |
| Mosaic | Paint a visible picture by numbers | 71 | Planning many colours side by side |
| Lighthouse beam | Paint an unbroken path across the board | 101 | Building a connected route |
| Clean the hull | Rinse grime off with pearl matches and keep it clean | 121 | Removing instead of adding |
| Squid ink | Wash away ink before it spreads | 141 | Racing a spreading threat |
Rules for each goal:
- Harvest. The goal names a piece (red, yellow, blue lantern or pearl) and a count. Every piece of that type that pops counts, cascades included.
- Barnacles. A barnacle covers a cell with 1 or 2 layers (2 layers from harbour 4). Any match on that cell, cascades included, removes one layer. A covered cell cannot be painted until it is clean.
- Hidden finds. Section 4.6. Objects come in sizes of 3 to 12 cells, in one or two colours.
- Boats home. Boats start in the upper rows. A boat never matches, but it can be swapped. It falls when the pieces under it are cleared. A boat that reaches the bottom cell of its column (rocks counted) docks and is collected. Up to 5 boats per level.
- Beacons. 3 to 7 single lamps, each wanting one colour, mixed colours included. Each beacon is found like a one-cell object. Placement patterns: scatter, line, ring, corners, zigzag, diagonal.
- Dye the sails. The goal names a colour and a count. At any moment, the cells showing that colour are counted. It is reached when the count is met; later paint could lower it again, so the player must not spoil cells.
- Mosaic. A picture of 4 to 12 cells is shown on the board (flag, fish, lighthouse, butterfly and 16 more). Every cell must show its colour. Easier levels start with some tiles already painted, so the same picture can appear at different sizes of task.
- Lighthouse beam. The goal names a colour and a direction (left to right, or top to bottom from harbour 16). It is reached when cells showing that colour connect the two sides. Easier levels start with a few beam stones already painted.
- Clean the hull. Grime is old paint on a set of cells. Only a pearl match rinses a cell. The goal is reached when every grime cell is unpainted, so a lantern match on clean grime cells spoils them again.
- Squid ink. Ink covers cells. A player's own match washes the ink from its own cells. Every 3 moves (2 in late boss and twist levels), if the last move washed no ink, the ink spreads to one neighbouring cell.
Two goals in boss levels. From harbour 6, the boss level combines the harbour's main goal with a second one, usually one painting goal and one non-painting goal (for example a mosaic and boats). The level is won only when both are met.
Every level has a title and a story line, for example "The Orange Regatta: make 6 cells show orange at the same time." All 500 titles are different.
Fireflies help with every goal. A firefly from the child does one of the following, whichever the level needs: paint one chosen cell, scrape one barnacle layer, wash one ink cell, or lower a boat by one row.
5. Levels, difficulty, losing, the harbour town
5.1 Structure
Version 1 ships with 500 levels in 50 harbours of 10 levels each. After launch, 20 new levels arrive per month. Each harbour has its own scene and its own place in the harbour town to build (section 5.5). The level files are in levels/001.json to levels/500.json (section 19). The scene is a night picture behind the board, dark and calm where the board covers it. Harbour 1, Quiet Beach (T06-005, owner 2026-11-29): moon and stars, a calm sea, a moonlit beach with four beach huts with striped roofs and lit windows between the board and the recipe strip, plain palms at the edges; fireflies and shooting stars, but no waves, lighthouse beam or passing boat (those belong to the harbour at night). Harbour 2, The Pier (T06-012, owner 2026-11-29): a calm sea under the moon, the town's low roofs with lit windows on the far shore, a wooden pier with four lanterns on its posts between the board and the recipe strip, a red and a blue boat moored by it; the sea runs under the board, so waves roll and the boat passes, but there is no lighthouse beam. Harbours without a scene of their own show the harbour at night.
One pacing pattern for every harbour. A player should feel the rhythm without knowing it:
| Position | Role | What it does | Robot win target |
|---|---|---|---|
| 1 | introduce | The harbour's new goal or modifier, alone and in its simplest form | 90% |
| 2 | practise | A different goal, or the new one again a little bigger | 78% |
| 3 | practise | The new goal or modifier again, with a new set-up | 78% |
| 4 | combine | The new element together with earlier ones | 70% |
| 5 | breather | An easy non-painting goal (harvest, barnacles or boats): relax | 90% |
| 6 | develop | Bigger set-ups, more modifiers | 65% |
| 7 | develop | The longest normal level of the harbour | 65% |
| 8 | twist | A smaller board (6×7) that changes the usual plan | 60% |
| 9 | rest | Easier again before the boss | 80% |
| 10 | boss | From harbour 6: two goals at once, usually one painting and one not | 40% |
Levels 1 to 20 are the tutorial (section 5.3); their targets are 88%, with 55% and 50% for the bosses at levels 10 and 20.
Ten goals and eleven modifiers, one new element per harbour. The goals (section 4.12) arrive early, so that the first 150 levels already show all ten. The modifiers arrive in between and later. Each new element is introduced alone, then mixed with earlier ones.
| Harbour | First level | New | Kind | What it asks of the player |
|---|---|---|---|---|
| 1 Quiet Beach | 1 | Harvest | Goal | Pop pieces; learn swaps and the special lanterns |
| 1 Quiet Beach | 6 | Barnacles | Goal | Scrape covered cells clean with matches |
| 2 The Pier | 11 | Hidden finds | Goal | Paint cells to reveal hidden objects |
| 3 The Shipyard | 21 | Boats home | Goal | Clear lanterns under boats |
| 4 The Old Ship | 31 | Beacons | Goal | Light single lamps in their colours |
| 5 Fish Market | 41 | Colour mixing (taught on picture level 6; here a reminder) | Modifier | Two colours on one cell: orange, green, purple |
| 6 Seagull Cliffs | 51 | Dye the sails | Goal | Keep N cells of one colour at once |
| 7 Coral Cave | 61 | Board shapes (rocks taught on picture level 16; here a reminder) | Modifier | Holes and 12 board shapes change where matches go |
| 8 Painters' Quay | 71 | Mosaic | Goal | Paint a visible picture by numbers |
| 9 Rock Island | 81 | Dark cells | Modifier | A piece cannot move until a match next to it lights it |
| 11 The Rope Bridge | 101 | Lighthouse beam | Goal | Paint a connected path across the board |
| 12 Underwater City | 111 | Two-colour objects | Modifier | One object, two parts, two colours |
| 13 Glass Beach | 121 | Clean the hull | Goal | Rinse grime with pearls and keep it clean |
| 14 Driftwood Bay | 131 | Old paint | Modifier | Cells start with the wrong paint |
| 15 Kelp Forest | 141 | Squid ink | Goal | Wash away ink before it spreads |
| 16 Morning Fog | 151 | Fog | Modifier | Paint fades from one unfinished cell every few moves |
| 17 The Tide Pools | 161 | Sponge cells | Modifier | The first coat soaks in; the second sticks |
| 18 Net Makers' Row | 171 | Ordered objects | Modifier | Objects must be found in a fixed order |
| 19 The Mirror Sea | 181 | Mirror board | Modifier | Every paint of the player also lands on the mirrored cell, special lanterns included (4.7) |
| 21 Twin Lantern Strait | 201 | Two-lantern palette | Modifier | Only two lantern colours fall |
| 22 Whale Road | 211 | Giant objects | Modifier | Hidden objects of 10 to 12 cells |
Since the picture levels 1 to 20 (5.3) teach the picture, mixing (6), barnacles (12) and rocks (16), no later level introduces them again: levels 41 and 61 show a one-line reminder on their start card instead of an introduction (T05-015).
Harbours 10 and 20 are lighthouse harbours that review what came before. From harbour 23, every harbour pairs two or three earlier modifiers with two or three featured goals, so each harbour has its own character. Harbour 50, "The Lighthouse of Lights", is a tour of all ten goals.
Variety rules. The level generator (tools/generate_parent_levels.py) plans the whole game before it builds a single level, and checks these rules:
- No goal twice in a row. The only exception is levels 1 to 5, the matching tutorial.
- A harbour is a mix. From harbour 10, a harbour uses 7 to 9 different goals; no goal appears more than 4 times in one harbour.
- Every goal has variants, so the same goal plays differently: where hidden objects hide (top, bottom, left, right, centre, spread), 20 mosaic pictures, six beacon patterns, six colours to dye, 12 beam colours and directions, four boat placements, six barnacle patterns, six grime areas and four ink spills.
- 12 board shapes: open, corners, hull, diamond, heart, ring, pillars, steps, tower, twin, wave and cross. The same shape never appears in two levels in a row.
- Every level is unique. No two of the 500 levels share the same recipe: goals, goal variants, modifiers, board shape and board size.
- Every level has its own title and one-line story (section 4.12).
- Targets go where matches can reach them. Objects and pictures are placed where the board has room around them, never in a pocket behind rocks.
Every level has a picture in previews/ showing the start board and the goal. The goals in order of arrival:
Picture not in the repository yet: The first level of each of the ten goals
The first level of each modifier:
Picture not in the repository yet: The first level of each modifier
5.2 Difficulty curve
A sawtooth. Inside a harbour the difficulty rises and level 10 of the harbour is the hardest. Level 1 of the next harbour is easy again, so the player can breathe.
Target win rates per role are in the table in 5.1. Moves get longer slowly over the 50 harbours: about 12 moves on average in the first harbours and about 22 in the last. Across all 500 levels the move budget runs from 5 to 38 moves, with a median of 16.
How the move budgets were set. A robot player (tools/lanternisland_sim.py) plays every level 32 times. It takes the move that helps the goals most, looks one move ahead on its best options, and when no move helps right away it looks further for a move that sets up the next one. For each level the generator tries up to nine sizes of the same recipe (a bigger or smaller picture, more or fewer boats, more or less ink) and keeps the one whose length is closest to the planned curve. The move budget is the number of moves the robot needed at the level's target win rate. Where some robot runs got stuck, a second pass (tools/retune_capped.py) caps the budget at 1.6 times the planned length: when the robot gets stuck for a long time, a person with special lanterns would not. On five "Clean the hull" levels the robot needed far too long, so tools/trim_clean.py kept only the most open grime cells (the level file says so in tuning.handFix). No level is longer than 38 moves.
The robot and special lanterns. Since the specials are in the rules (4.7), the robot plays with them: its matches make specials, and it may swap any special lantern, taking such a swap when it scores best (it does not plan several moves ahead to build one). An earlier rule, that the robot never swaps a special on purpose, left it stuck: white lanterns and prisms never match by colour, so they sank to the bottom and blocked boats for good. Because the robot now plays about as well as a skilled player, the re-tune after the specials keeps a margin for real players: every level's target win rate is 5 points higher than its role's target in 5.1 (for example 0.78 becomes 0.83), so the budgets are a little more generous.
Re-tuning after a rule change. tools/retune_moves.py plays every level with the same 32 robot runs as tools/check_levels.py and sets the move budget by the same rule as the generator: the moves the robot needs at the level's target win rate (the longest finished run plus 3 when that run got stuck), never below 5, and one move fewer when that move's win rate is closer to the target (T03-012: with the ladder many runs end on the same move, so one move can lift the win rate from 34 to 88 percent). Board, goals and everything else stay; only the budget and the recorded robot numbers change. When some robot runs get stuck, the budget is capped as in the generator's second pass: at most 1.6 times the planned length or the median plus 6 moves, whichever is more. No level may be longer than 38 moves. After the special lanterns the levels are re-tuned step by step: the game is first finished with levels 1 to 20 (and a first part of the kids' island); levels 21 to 500 follow in batches and keep their earlier budgets until their turn.
Levels 1 to 20 are tuned for people, not for the robot (owner, 2026-11-22). The robot plays like an expert: on level 1 it needed 7 of 10 moves, while a player who followed the hint won only one game in three and a player who just matched on the picture one in ten. So the first 20 levels take their move budget from a casual player: it knows only to match on the picture, and plays a random one of the swaps that help the picture (any swap when none helps). The budget is the number of moves that player needs to win at the level's casual target: 80 percent on levels 1 to 10, 65 percent on levels 11 to 20, never more than 38 moves. The level file records it (tuning.player "casual"), and tools/check_levels.py and tools/retune_moves.py check and tune such a level with the casual player and its target. The robot stays the measure for levels 21 to 500 until their own turn.
Result (T07-048): levels 1 to 9 now have 16 to 30 moves instead of 9 to 16, and levels 11 and 13 to 18 have 31 to 38. Four levels cannot reach their casual target within 38 moves even so: 10 (the lighthouse, 32 cells in six colours: 22 percent), 12 (the crab under barnacles: 34), 19 (the dolphin, mostly mixed green: 22) and 20 (the harbour at night, 27 cells in five colours with barnacles: 0). The owner chose smaller pictures (T07-053, 2026-11-22): the lighthouse has 18 cells in red, yellow, orange and green, the crab 7 cells with two barnacles and its claws away from the board's edge, the dolphin 12 cells mostly blue with three green waves, and the harbour 13 cells (house, moon and green shore, no purple water) with two barnacles. Level 10 has no pearls. All four now meet their casual target: 10 with 32 moves, 12 with 28, 19 and 20 with 38.
The level check. tools/check_levels.py fails a level whose robot win rate is more than 15 points from its target. One exception, because budgets are whole moves: a level with a target of 0.70 or more (introduce, practise, breather, rest) that is too easy still passes when its budget is the one closest to the target and one move fewer would put the win rate below the band, so no whole-move budget brings it inside. Develop, twist and boss levels that are too easy still fail. A level that still fails, or is longer than 38 moves, gets a new layout: the generator tries its variants of the same recipe and keeps one that passes. The numbers are a starting point and must be checked with real players (backlog epic 06). 18 levels are flagged in parent_levels.csv for a human look, with the reason (for example "slower than designed").
Picture not in the repository yet: All ten levels of harbour 24, Salt Marsh: ten different levels in one harbour
Picture not in the repository yet: Boss levels with two goals
5.3 Tutorial: the first 20 levels
Owner's direction, 2026-11-17: every one of the first 20 levels is a picture level (4.6). The player learns to paint before anything else, and colour mixing arrives early (level 6), so that the game shows in its first minutes what makes it different. Each level teaches exactly one new thing, with one guiding hand and at most one sentence of text. These levels are the test of the direction: if parents do not enjoy painting pictures, the design changes before levels 21 to 500 follow.
| Level | Picture (example) | What it teaches |
|---|---|---|
| 1 | A red boat | Swap, match three, and your match paints the cells under it |
| 2 | A boat with a yellow sail | Two colours: each part needs its own colour |
| 3 | A blue fish | Blue joins; three colours in one level |
| 4 | A starfish on a rock | Match of 4: the big lantern paints a 3 by 3 area (with the ladder, 4.7: the prism) |
| 5 | A beach hut | Limited moves, and the paint preview while dragging |
| 6 | An orange sun | The first mixed colour: red and yellow make orange. After this level, the first town building step with a star |
| 7 | A green turtle | Yellow and blue make green; first firefly from the child (a welcome gift) |
| 8 | A purple octopus | Blue and red make purple; the undo button |
| 9 | A red and white buoy | A second coat makes a cell pure again; first region opens for the child (beam animation) |
| 10 | The lighthouse | Boss of harbour 1: red, yellow and the mixes orange and green in one picture |
| 11 | A sailing ship | Pearls rinse a mistake; match of 5 and the white lantern |
| 12 | A crab under barnacles | Barnacles on the picture: scrape the cell, then paint it |
| 13 | A whale | The eye button: see the picture under the lanterns |
| 14 | A row of beach flags | Two big lanterns make a prism that paints a whole row (with the ladder, 4.7: two prisms make a white lantern); first child report in the keeper's notebook |
| 15 | A jellyfish | Cascade matches never paint: only your own moves do |
| 16 | A seahorse on a new board shape | Board shapes with rocks |
| 17 | A parrot | Mixed colours side by side: plan the order |
| 18 | A sunset harbour | A relaxed level |
| 19 | A dolphin | A calm level before the boss |
| 20 | The harbour at night | Boss of harbour 2: a large picture with mixed colours and barnacles |
The emotional moments (levels 7, 9 and 14) come early on purpose. A parent must see in the first session what their play does for the child. Nine won levels give about 100 light, which is exactly the price of the first region (section 6.3).
Levels 1 to 5 are guided to the last move (owner, 2026-11-23: "from level 1 till level 5 it must guide you every single move and finish the levels with you"). After a level's lesson, the keeper stays: half a second after the board is still, the firefly shows the best move (4.9), its cells glow and the preview shows what it paints, and the keeper's bubble says what it does ("Swap the glowing lanterns: your match paints 3 cells red." or, for a set-up move, "...: it sets up your next match."). This repeats on every move until the level ends. The player may still play another move: the guide helps, it does not lock the board. Following it wins levels 1 to 5 (a test plays them). From level 6 the hint comes after 3 seconds as before.
Guided start (owner, 2026-11-20: "for a beginner the game concept is not clear"). The first levels teach by doing, one step at a time, in a coach bubble at the bottom of the screen (the keeper speaks; short sentences; the board stays visible):
- Level 1 is a guided lesson.
- The goal: "The keeper's red boat is hidden under the lanterns." The picture's outline glows, and the top bar's "Picture 0 / 6" pulses. Tap to go on.
- The move: "Swap two lanterns to make a line of three." The board dims except the two cells of the best move (4.9), and a hand slides one lantern onto the other. Only that swap works; any other bounces back without costing a move.
- The result: "Your match painted these cells red!" The new red cells and the picture counter pulse.
- The moves: "You have 9 moves left. Paint every cell of the boat red." From here the player plays freely, with the move hint (4.9).
- The win: the boat comes alive (4.6) and the keeper says "You found the red boat!"
- Every possible move is guided once (owner: "explain every possible move"), on the level that brings it. Each guided move is one bubble before (what to do and why), the move shown by the hand and the only one allowed, and one bubble after (what it did). The move is found from the rules on the live board (a swap that makes that kind of match), never from fixed cells; if the board has none, the guide waits for a later turn of the same level.
Levels 1 to 10 are training levels (owner, 2026-11-20: one lesson is not enough). Each opens with a short lesson for its new moves; the move hint (4.9) stays on through level 10.
| Level | Move or tool | Before | After |
|---|---|---|---|
| 1 | Swap to make a line of three | "Swap two lanterns to make a line of three." | "Your match painted these cells red!" |
| 1 | A line down, not across | "Lines count up and down too." | "A line in a column paints too." |
| 2 | A part in another colour | "The sail needs yellow. Match yellow lanterns on the sail." | "Each part of the picture has its own colour." |
| 3 | A move that misses the picture | "Only matches on the picture count. Paint the fish, not the sea." | - |
| 3 | Three colours | "The fish needs red, blue and yellow." (the parts glow one by one) | - |
| 4 | Four in a line: big lantern | "Make a line of four." | "A big lantern! Swap it or match it to paint a 3 by 3 area." |
| 4 | Use the big lantern | "Swap the big lantern with any neighbour." | "It painted nine cells at once." |
| 5 | The preview and the move count | "Hold a lantern and drag slowly: the dashed outline shows what will be painted." | "Every swap costs one move; the top bar counts them." |
| 5 | L or T shape: big lantern | "Two lines of three that cross make a big lantern too." | "The big lantern sits where the lines cross." |
| 6 | Mixing | "Paint red, then yellow on the same cell." | "Red and yellow make orange." |
| 7 | Mixing to green | "The turtle is green: paint yellow and blue on the same cell." | "Yellow and blue make green." |
| 8 | Mixing to purple | "The octopus is purple: red and blue." | "Red and blue make purple." |
| 8 | Undo | "Not the move you wanted? Tap undo once per level." | "The move is taken back, free." |
| 9 | Second coat | "Paint a mixed cell with one colour again to make it pure." | "A second coat makes the cell pure again." |
| 10 | The final test | "The lighthouse needs red, yellow and the mixes orange and green. Use what you learned!" | - |
| 11 | Pearls rinse | "Match pearls on a wrong cell to wash its paint off." | "Clean: now paint it again." |
| 12 | Barnacles | "Match on a barnacle to scrape it off." | "The cell is free: now it can be painted." |
| 13 | Eye button | "Hold the eye to see the picture under the lanterns." | - |
| 14 | Prism | "Swap two big lanterns with each other." / "Swap the prism with a lantern." | "The whole row is painted in that colour." |
| 15 | Cascades | "Lanterns that fall into a line never paint: only your own moves do." | - |
| 16 | Rocks | "Rocks hold no lanterns; lanterns fall past them." | - |
| 18 | Five in a line: white lantern | "Make a line of five." | "A white lantern: swap it to wash a 3 by 3 area clean." |
A guided move is found from the rules on the live board. When the board has no such move yet, the bubble says so and the player plays on with the move hint; the step shows its move as soon as the board has one (T07-038).
On levels 11, 14, 15 and 16 the lesson is a bubble only, for the same reason (a wrong cell to wash, two big lanterns side by side); 12 and 18 guide a real move when the board has one.
Level 9's second coat is a bubble only: following the hint never mixes a stripe, and making the player spoil a cell to fix it would waste their moves.
Rows with "-" are a bubble only. The level's start card still names the new thing (4.8).
Show, don't tell (owner, 2026-11-30: "players do not like to read long texts"; a tester read level 7's "Paint blue on yellow" as "swap a yellow lantern with a blue one"). The lessons above keep their order and their moves, but each step now shows instead of telling:
- A short animation carries the lesson. A ghost hand slides the glowing lantern onto its neighbour, fades and starts again (a loop of 1.2 seconds, since T07-037), until the player makes the move (the move steps); the cells a part needs glow one part after the other (the goal steps).
- Mixing is shown on one cell. A picture formula sits above the board: a red lantern, "+", a yellow lantern, "=", an orange cell, each with its shape and symbol (colour plus shape). Below it a sample cell fills with the first colour's splash, then the second colour's splash lands on the same cell and it turns orange. The two splashes come one after the other onto one cell, so it cannot be read as one swap of two lanterns.
- At most five words (owner: "3-word labels"), in the bubble: "Swap to make 3", "Same cell, two colours", "Blue on the yellow", "Green!". The words are in en.txt like every visible text (7.7).
- No "Tap to go on". A step before a move waits for the move; any other step goes on by itself after 2.5 seconds (its highlight has played), or sooner with a tap.
- The sentences of the table remain the meaning of each step; the labels are their short form, and the "?" card (special pieces) keeps the longer explanation for who wants it.
A wrong colour, explained once (owner, 2026-11-22). Paint stays the heart of the game, so a wrong colour still sticks. The first time the player paints a picture cell in the wrong colour, on any level, a card shows that cell and says once what happened and how to fix it ("This cell needs red: its symbol shows it. A red match paints over the wrong colour; the second red makes it pure."). Kept on the device like the special pieces' explanations.
Special pieces outside their lesson (owner, 2026-11-21): a special can turn up before its lesson (a big lantern on level 2). The first time a big lantern, prism, white lantern or pearl is on the player's board, on any level, a card explains once how it is made and what it does, with its picture; a tap closes it. A special the level's own lesson explains (4, 5, 11, 14, 18) counts as told once the lesson is over. Which explanations were shown is kept on the device (nothing about the player). A "?" button beside undo opens a card of all four special pieces at any time: how to make each and what it gives (4.7).
- Free play with the hint (4.9) after the lesson, on all ten training levels.
To make the start attractive: every match sparkles in its colour, big moves get a short word of praise ("Great!", "Wonderful!"), the picture counter pulses as cells are finished, the finished picture comes alive, and the album (T07-035) keeps every picture.
5.4 When the player loses
Losing costs nothing. There are no lives and no energy. Light already collected is never taken away. The only limit in the game is the daily light cap.
When the moves run out, three choices appear:
| Choice | Result | Limit |
|---|---|---|
| Try again | The level restarts, free | Unlimited |
| Use a firefly from the child | 3 extra moves | Only if a firefly is in store |
| Watch an optional ad | 5 extra moves | Once per level; only after ads are introduced (section 10) |
- No pay-to-continue. The game never offers extra moves for money.
- Dynamic help: the keeper's gifts (owner, 2026-11-24; replaces "one free white lantern", which on a picture level would wash paint away). From the 3rd loss on the same level, each new try starts with a gift that grows slowly; the numbers are in 6.9 and Rules/Economy.cs:
With the ladder of 4.7 (T03-010) the gift lanterns are small pieces, with the same numbers.
| Losses so far | Help level | Extra moves | Big lanterns at the start |
|---|---|---|---|
| 0 to 2 | 0 | 0 | none |
| 3 | 1 | +2 | none |
| 4 | 2 | +3 | none |
| 5 | 3 | +3 | 1 near the picture |
| 6 | 4 | +4 | 1 near the picture |
| 7 | 5 | +4 | 2 near the picture |
| 8 or 9 | 6 | +5 | 2 near the picture |
| 10 or more | 7 | +5 | 1 on the picture, 1 near it |
- Near the picture means one good move away: the lantern's 3 x 3 area touches no cell still to paint, but one swap with a neighbour brings such cells into it. The player still has to see it and swap it. On the picture: the cell whose area covers the most cells still to paint. On a level without a picture the barnacle cells take the picture's place; on other levels the lanterns stand near the middle of the board.
- The first lantern has the colour most cells still to paint need, the second the next one (ties: red, yellow, blue; the same colour again when the picture needs only one). A lantern never stands on a piece that is not red, yellow or blue, never makes a match at the start and never stands next to the other one. The rule is in the rules package (Help) and in the Python reference, with the same result.
- The player is told with a gift card of its own (owner, 2026-11-25: the line on the start card was "not good visible"; T07-071). When the start card is closed, a second card opens: a big gold title "A gift from the keeper!", a drawn gift box, then one row per gift with its picture: the moves ("+2 moves") and each big lantern ("A big lantern near the picture"), and a gold "Thank you!" button; a tap anywhere closes it, as every card. Then the extra moves fly from the card into the move counter, and each gift lantern on the board glows and pulses for a few seconds with an arrow toward the picture: the swap that brings it there. The start card no longer carries the gift line. A small gift sign beside the move counter shows that help is on.
- From help level 1 the silhouettes of the hidden objects are stronger.
- Fair: a loss counts only when the moves run out (leaving through the Levels map is no loss); a win with help gives at most 1 seed, so three seeds need a win without help and old levels are worth playing again; gift moves never pay the light for unused moves; a win sets the level's losses back to 0. Losses are kept with the progress, per level.
- Checked by the robot: without help the win rates stay as tuned; with help the casual player wins levels 1 to 20 within 10 tries in at least 99 of 100 cases (tools/help_check.py). A level that misses this is too hard and is re-tuned; the help does not grow.
5.5 The harbour town (the parent's own progress layer)
Every won level pays two currencies at once: light for the child and a star for the parent. The parent never chooses between "for my child" and "for me"; one win always gives both.
Stars build the parent's own harbour town around the lighthouse, like the castle in Royal Match or the garden in Gardenscapes, but small and calm: no timers, no production chains, no waiting. It is a picture that grows, not a third game.
- One place per harbour. Each of the 50 harbours builds one town place: beach huts, a ship café, market stalls, a windmill bakery, a night market. Harbours 10, 20, 30, 40 and 50 restore the lighthouse itself, one part each.
- Five steps per place. Steps cost 1, 2, 2, 2 and 3 stars: 10 stars, the stars of one harbour. The parent taps a step, the town scene builds it in a short animation.
- Choice of style. When a place is finished the parent picks its look: seaside, cosy or festive. Every family's town looks different.
- Special touches with the child's produce. 19 places have an optional extra that uses fruit and vegetables from the child's garden (section 6.7): a fruit stall at the market, carrot cake in the bakery, tomato plants in the window boxes. The touch carries the child's name: "Lena's carrot cake". A place is complete without it.
- Town feast. 10 produce of any kind can be spent on a feast. The town celebrates for a moment, and the child gets a thank-you postcard from the town and 10 seeds for the garden.
- Gallery wall. The child's drawings from the weekly drawing levels hang framed in the keeper's room of the lighthouse.
- Effect on the child's world. Finishing a lighthouse part makes the lamp one step stronger. Every finished harbour still gives 50 light (section 6.2).
- The child can look. From the island the child sees the town across the water through Omel's telescope, with their own produce in it: "Look, your apples are in Dad's café!"
Picture not in the repository yet: The parent's harbour town and the produce basket from the child's garden
The 50 places, their steps and touches are data: town/town.json and town.csv (section 19). Each place's art (T06-006, owner 2026-11-29) is eight pictures at most: the five build steps in the seaside style (each shows every step so far), the finished place in the cosy and festive styles, and the special touch as an overlay (town-<place>-1 to -5, -cosy, -festive, -touch). While a place is being built it shows the seaside look; the parent picks the style when it is finished.
| Harbour | Town place | Special touch (produce needed) |
|---|---|---|
| 1 Quiet Beach | Beach Huts | Coconut drinks at the huts: 3 coconut |
| 2 The Pier | The Pier | |
| 3 The Shipyard | Boat Shed | |
| 4 The Old Ship | The Ship Café | Fresh fruit juice on the menu: 3 apple/berries/melon/coconut |
| 5 Fish Market | Market Stalls | A fruit and vegetable stall: 4 any |
| 6 Seagull Cliffs | Cliff Path | |
| 7 Coral Cave | The Aquarium | |
| 8 Painters' Quay | Painters' Studio | |
| 9 Rock Island | Rock Garden | Berry bushes along the path: 3 berries |
| 10 The Great Lighthouse | Lighthouse: Stairs and Keeper's Room (lighthouse) | |
| 11 The Rope Bridge | Rope Bridge | |
| 12 Underwater City | Glass-Bottom Boat Dock | |
| 13 Glass Beach | Glass Workshop | |
| 14 Driftwood Bay | Driftwood Playground | |
| 15 Kelp Forest | Seaweed Farm | |
| 16 Morning Fog | Fog Bell Tower | |
| 17 The Tide Pools | Rock Pool School | |
| 18 Net Makers' Row | Net Makers' Houses | Tomato plants in the window boxes: 3 tomato |
| 19 The Mirror Sea | The Promenade | Flower beds with melons and berries: 3 melon/berries |
| 20 The Second Lighthouse | Lighthouse: Lamp Room (lighthouse) | |
| 21 Twin Lantern Strait | Lantern Shop | |
| 22 Whale Road | Whale-Watching Tower | |
| 23 The Sea Garden | Town Greenhouse | The child's own corner in the greenhouse: 5 any |
| 24 Salt Marsh | Salt Works | |
| 25 The Sunken Bell | Music Pavilion | Melon slices at the concert: 3 melon |
| 26 Thunder Reef | Lifeboat Station | |
| 27 Pirate Graveyard | Pirate Museum | |
| 28 Moon Jetty | Moon Jetty Ice Cream | Fruit ice cream flavours: 3 berries/melon/apple |
| 29 Turtle Shoals | Turtle Rescue Centre | |
| 30 The Third Lighthouse | Lighthouse: Lens and Gallery (lighthouse) | |
| 31 Amber Dunes | Dune Camp | A campfire dinner: 3 any |
| 32 Ice Harbour | Skating Pond and Cocoa Hut | Honey cocoa: 3 honey |
| 33 Smugglers' Cove | Smugglers' Storehouse | A full pantry: 5 any |
| 34 Lantern Festival | Festival Square | A festival food stall: 5 any |
| 35 Mangrove Maze | Mangrove Boardwalk | |
| 36 The Clock Tower | Clock Tower | |
| 37 Star Divers' Deep | Diving School | |
| 38 The Fog Bank | Weather Station | |
| 39 Volcano Shore | Hot Spring Bathhouse | Honey and apple tea: 3 honey/apple |
| 40 The Fourth Lighthouse | Lighthouse: Beam and Outer Walls (lighthouse) | |
| 41 Spice Port | Spice Port Kitchen | Vegetable soup for the town: 4 carrot/tomato/mushroom |
| 42 Windmill Point | Windmill Bakery | Carrot cake and apple pie: 4 carrot/apple |
| 43 The Night Market | The Night Market | A night-market fruit stall: 4 any |
| 44 Dragonfly Delta | Pond and Bird Hide | |
| 45 The Old Observatory | The Old Observatory | |
| 46 Storm Petrel Rock | Harbour Wall | |
| 47 The Paper Boats | Paper Boat Toy Shop | |
| 48 Aurora Bay | Aurora Hill | |
| 49 The Whale's Song | The Whale's Song Stage | Snacks for the concert: 4 any |
| 50 The Lighthouse of Lights | Lighthouse: The Great Lamp (lighthouse) | A feast for the whole town: 6 any |
Art budget: per place five step pictures, two extra styles and, where it has one, the touch: about 8 pictures, about 400 in all. Version 1 can launch with the first 10 places and add 10 a month together with the new harbours.
5.6 Playing on your own: the community (planned, phase 5, M71 to M73)
Owner's idea, 2026-11-17. Built only after the parents' game and the kids' part are finished.
- The first question. On the first start a card asks: "Do you want to share this game with a child?" with "Yes, connect a child" and "Not now, I'll play on my own". It never asks whether the player has children. The answer can be changed at any time in the settings.
- Same game, own world. A player on their own plays the parents' game exactly as it is. In place of the kids' island they build their own community. What they earn (light, and the other rewards of the parents' game) goes into the community instead of the child's island.
- Switching to a child. Whenever the player wants to play with a child, they can leave the community and use what they earned there to help the child. Nothing earned is lost by switching.
- Open questions, answered before M71's design tasks are done (task T00-018):
- Is the community made of residents in the game (no servers, no moderation, no personal data; within the near-zero cost of 12.6) or of real other players?
- What replaces the child's fireflies and produce for a player on their own (for example gifts from the residents, and the community's own market)?
- Switching to a child: how is the earned light counted for the child, so that the child's regions still open one by one with their lessons (section 6.3 and the daily light cap)?
- Does the community stay visible after switching, and can a player switch back?
6. Economy (all numbers)
All numbers live here and nowhere else. In code they live in one module (economy), and tests check that module against this section.
6.1 Currencies
| Currency | Earned by | Spent on | Owned by |
|---|---|---|---|
| Light | Winning levels, moonlight | Opening regions, garden seasons | One pot per child |
| Seed | Finding objects (at most 3 per level); overflow light | Plants, creatures, avatar items | One pot per child |
| Star | Winning levels | Building the harbour town | Each keeper |
| Produce | Grown plants in the child's garden | Special touches and feasts in the town | Each keeper (a copy for each) |
| Firefly | Child finishing activities | Painting one cell, or 3 extra moves | Each keeper |
6.2 What a keeper earns
| Action | Reward |
|---|---|
| Win a level | 10 light + 1 star |
| Each unused move at the end of a won level | 1 light (at most 5) |
| Daily challenge level | 15 light |
| Finish a harbour | 50 light |
| Each object found (hidden object, beacon or mosaic) | 1 seed, at most 3 per level |
6.3 What things cost
| Unlock | Cost |
|---|---|
| Region 2, Forest | 100 light |
| Region 3, Market | 200 light |
| Regions 4, 5 and 6 | 300 light each |
| A garden season (after all regions are open) | 300 light |
| A new plant or creature for the garden | 3 to 5 seeds |
| Avatar clothes and items | 2 seeds |
The first region is cheap on purpose. A child finishes the beach in 3 to 4 days, so the forest must open by about day 3.
6.4 Moonlight
Every night, each child's pot receives 10 light automatically, even if no keeper plays.
- Without any parent play, the forest opens after 10 nights and no region ever takes more than one month.
- No child stays on the beach forever because their parents are busy.
- Parent play only makes it faster. It never is the only way.
6.5 Pacing rules
- Daily cap. Each keeper can earn at most 100 light per day from levels. Playing longer than about 30 to 40 minutes a day gives no more light. Harbour bonuses and moonlight do not count toward the cap. (T07-020, 2026-11-25:) The cap is light only: a win past it still gives its star and seeds, and a win that crosses it pays only the light up to 100. The day is the device's own calendar day until the family save (section 12) counts on the server's day. The win card that fills the cap, and every win after it that day, says so kindly in the keeper's words: "Today's light is full! Your child's lighthouse shines bright. Play on for stars, or come back tomorrow."
- Child gate. A region can open only after the child has completed at least half of the activities of the previous region, even if there is enough light. Several busy keepers therefore cannot flood the child with content.
- Overflow. While the next region is gated, extra light converts to seeds automatically: 20 light = 1 seed. A parent's play always sends something to the garden.
- Expected pace. A parent who plays about 10 minutes a day wins about 3 levels (about 35 light). With moonlight that is about 45 light a day:
- Forest opens on day 3.
- Market opens about 5 days later.
- Each further region opens about once a week.
- All six regions are open after about 4 weeks.
6.6 Fireflies
- Each activity the child completes makes 1 firefly, at most 5 per day.
- At the end of the child's session, Omel carries them to the lighthouse. The child sees them fly away.
- Every keeper of the family receives them. Each keeper stores at most 5.
- Uses: paint one chosen cell in the colour its object needs (at most 2 per level), or 3 extra moves after a loss.
6.7 Produce from the garden
The child's garden grows food as well as flowers. Produce is a gift, never a requirement.
| Region | Produce |
|---|---|
| Beach | Coconuts |
| Forest | Apples, berries |
| Market | Carrots, tomatoes |
| Library Cave | Mushrooms |
| Music Bay | Melons |
| Feelings Valley | Honey |
- A plant that reaches its blossom stage ripens: at the end of that session it gives 1 produce.
- At most 3 produce per child per day. Extra ripe plants simply wait in the garden; nothing is lost.
- At night Omel carries a small basket to the lighthouse, together with the fireflies. The child sees it go.
- Every keeper of the family gets the basket. A pantry holds 30; when it is full, baskets wait in the garden.
- Uses: special touches on town places and town feasts (section 5.5). Produce cannot be turned into stars, light or moves, so it never pays a parent to push the child.
- Never asked for. The game never asks the child for produce, and a keeper cannot request it. No message says "Mum needs carrots". The child plays to learn; the basket is a side effect.
- Fireflies help in the puzzle; produce makes the town beautiful. The two never mix.
6.8 After all regions are open
Light keeps a purpose. Each month a garden season arrives (for example Nowruz, winter, harvest). It costs 300 light and brings new activities, plants and creatures. Later, a second island with new regions continues the same loop.
6.9 The keeper's gifts after losses (design 5.4)
| Number | Value |
|---|---|
| Losses before the first gift | 3 |
| Extra moves by help level 1 to 7 | 2, 3, 3, 4, 4, 5, 5 (never more than 5) |
| Big lanterns near the picture by help level 1 to 7 (small pieces with the ladder, 4.7) | 0, 0, 1, 1, 2, 2, 1 |
| Big lanterns on the picture by help level 1 to 7 (small pieces with the ladder, 4.7) | 0, 0, 0, 0, 0, 0, 1 |
| Most seeds for a win with help | 1 |
| Light for unused gift moves | 0 |
| Casual win within 10 tries, levels 1 to 20 | at least 99 % |
7. دنیای کودکان: باغِ جزیره
7.1 منطقهها
شش منطقه. ساحل از آغاز باز است. پنج منطقهٔ دیگر از دلِ مه بیرون میآیند.
| منطقه | حوزهٔ یادگیری | راهنمای محلی | باغ |
|---|---|---|---|
| ساحل (رایگان، همیشه باز) | شمردن و شکلها | تاتی (Tati) خرچنگ | صدفها و گلهای ساحلی |
| جنگل | طبیعت و علوم | هوهو (Houhou) جغد | درختانی که با هر پاسخِ درست بلندتر میشوند |
| بازار | پول و ریاضی | سنجابِ مغازهدار | باغِ میوه برای فروش در بازار |
| غارِ کتابخانه | خواندن و حرفها | نورا (Noura) کرمِ شبتاب | گلهای قارچیِ درخشان |
| خلیجِ موسیقی | ریتم و الگوها | نهنگِ آوازخوان | گیاهانی که صدا میسازند |
| درهٔ احساسات | احساسات و دوستی | خرسِ کوچک | باغی آرام |
هر منطقه 18 فعالیت دارد: 9 برای غنچه (Bud) و 9 برای شکوفه (Blossom). هر فعالیت 5 گامِ دشواری دارد، پس بخش کودکان در نسخهٔ 1 108 فعالیت و 540 مرحله دارد. اینها فایلهای داده در activities/<region>/ هستند و با همهٔ گامهایشان در kids_levels.csv فهرست شدهاند. هر منطقه دستکم از 6 قالب از 11 قالب استفاده میکند و با یک فعالیتِ «فانوسهای رنگی» به پایان میرسد.
7.2 باغ
باغ، سامانهٔ پیشرفتِ روزانهٔ کودک است.
- هر فعالیتِ تمامشده یک گیاه را یک مرحله رشد میدهد. گیاهان سه مرحله دارند: نهال، غنچه، شکوفه.
- (T12-003، صاحب پروژه 2026-11-29:) هر منطقه شش گیاه دارد که هر کدام با گروهی از مهارتهای آن منطقه رشد میکند و شکل و رنگِ خودش را دارد. ساحل: گلِ صدفی (شمردن)، سوسنِ ستارهدریایی (بیشتر و کمتر، ترتیبِ عددها، زوج و فرد)، نخلِ نارگیل (جمع، تفریق، پیوندِ عددها؛ نارگیلهایش محصولِ ساحلاند)، خارِ دریایی (شکلها، دستهبندی بر پایهٔ شکل، شکلهای سهبعدی)، سرخسِ موج (الگوها)، گلِ رنگینکمانی (رنگها، مخلوط کردنِ رنگها). تصویرها: docs/art/kids/plants/ (tools/draw_kids_art.py). هر فایلِ فعالیت نامِ گیاهش را دارد («plant»؛ T11-061).
- اگر مهارتی چند روز تمرین نشود، گیاهش تشنه میشود: یک قطرهٔ کوچکِ آب بالای آن پیدا میشود. یک بار تمرین آن را آب میدهد.
- گیاهی که شکوفه کرده میرسد و برای شهرِ فانوسبانها محصول میدهد (بخش 6.7). چیدنِ محصول هرگز گیاه را از بین نمیبرد.
- کودک هرگز چیزی از دست نمیدهد. گیاهان در چشمِ کودک هرگز پژمرده نمیشوند یا نمیمیرند. پژمردگی فقط در دفترچهٔ فانوسبان نشان داده میشود، بهعنوان نشانهای برای والد.
7.3 یک نشست، از سلام تا شب
یک نشستِ معمولی 10 تا 20 دقیقه است و همیشه همان ریتم را دارد. کودکانِ کوچک با تکرار احساسِ امنیت میکنند.
- سلام. اومل کودک را با نامش صدا میزند: «سلام لنا! امروز چه کنیم؟»
- هدیهها. اگر چیزی از فانوسبانها رسیده باشد (یک بطریِ پیام، یک بستهٔ بذر، یک منطقهٔ تازه)، نخست آن باز میشود. این لحظهٔ والدین است.
- باغ. کودک با یک لمس به گیاهان آب میدهد. اگر گیاهی تشنه باشد، اومل پیشنهاد میکند: «گلِ صدفی تشنه است. بیا صدف بشماریم!»
- سه ایدهٔ روز. سه دکمهٔ بزرگ: یکی برای مهارتی که تمرین لازم دارد، یکی فعالیتی تازه، یکی فعالیتِ محبوب. ایدهٔ تمرین پشتِ پرده انتخاب میشود (7.6، «بازگشت»)، پس برای کودک یک مهارت درست در زمانِ مناسب دوباره پیدا میشود.
- گشتوگذارِ آزاد. کودک میتواند به هر جای باز برود و هر فعالیتی را دوباره بازی کند.
- شب. وقتی زمانی که والد تعیین کرده تمام شود، آسمان آرامآرام تاریک میشود، جانوران خمیازه میکشند و اومل روز را جمعبندی میکند: «امروز 12 صدف شمردی!» سپس کرمهای شبتابی که کودک به دست آورده به سوی فانوس دریایی پرواز میکنند، و اگر محصولِ رسیدهای باشد، با یک سبد. کودک میبیند که هدیه به مامان یا بابا میرسد.
پایان هرگز ناگهانی نیست. کودک نخست فعالیتِ کنونی را تمام میکند، سپس شب فرا میرسد.
ایدههایی از دنیای اومل (صاحب پروژه، 2026-12-02). نمونهٔ اولیهٔ پیشینِ صاحب پروژه چند ایده داشت که جزیره نداشت؛ این ایدهها به زبانِ خودِ جزیره برداشته شدهاند (7.4، 7.6، 7.7، 8، 9.2، 17.3):
- نخستین دیدار بیدرنگ بازی میشود. در نخستین نشستِ کودک، سلام مستقیم به نخستین فعالیت میرسد (شمردنِ صدف)؛ سه ایدهٔ روز از نشستِ دوم به بعد میآیند.
- شب چیزِ بیشتری پیشنهاد نمیدهد. وقتی زمان تمام شده، پایانِ فعالیت دکمهٔ «دوباره» را نشان نمیدهد (7.4) و شب درست پس از پایان فرا میرسد.
- گرمای غروب (یک تنظیم، بهطور پیشفرض خاموش): در یکسومِ پایانیِ زمانِ تعیینشده، نورِ جزیره کمی گرمتر و نرمتر میشود، مثل پایانِ بعدازظهر، تا شب غافلگیرکننده نباشد.
به همهچیز دست بزن (صاحب پروژه، 2026-12-01). جزیره جایی برای بازی است، نه یک منو. هر صحنه (جزیره، هر منطقه، باغ) دستکم هشت چیز دارد که با یک لمس، با پویانماییِ کوتاه و صدایی واکنش نشان میدهند: خرچنگی در شن فرو میرود، موجی میپاشد، مرغِ دریایی پر میکشد و برمیگردد، صدفی نُتی میخواند، نخلی نارگیلی میاندازد. بازیِ آزاد کاری لازم ندارد و هرگز با امتیاز تمام نمیشود. واکنش به لمس هرگز دستورِ گفتاری را قطع نمیکند و هرگز از صحنه بیرون نمیرود. درونِ یک فعالیت فقط شخصیتها واکنش نشان میدهند (لمسِ تاتی او را به دستتکاندادن وامیدارد)، تا کار روشن بماند.
7.4 قالبهای فعالیت
یازده قالب (قالبِ «ردگیری» برای حرفها و رقمها در 2026-12-02 افزوده شد) یک بار ساخته میشوند و با محتوا، صحنه و دشواریِ گوناگون دوباره به کار میروند. یک فعالیتِ تازه معمولاً یک فایلِ دادهٔ تازه است، نه کدِ تازه.
| قالب | کودک چه میکند | نمونه |
|---|---|---|
| بشمار و بگذار (Count and place) | شمارِ درستی از چیزها را در یک ظرف میگذارد | 7 صدف در سطل |
| وصل کن (Connect) | دو چیزی را که به هم تعلق دارند به هم وصل میکند | ردِ پا به جانور، حرف به تصویر |
| به ترتیب بچین (Put in order) | چیزها را به ترتیبِ درست میچیند | فصلهای یک درخت، گامهای یک داستان |
| دستهبندی کن (Sort) | هر چیز را در گروهِ خودش میگذارد | میوه و سبزی، جانورانِ خشکی و آبی |
| پیدا کن (Find) | در یک صحنه چیزی را که صدا نام میبرد میجوید | «جغد را پیدا کن» |
| بساز (Build) | از تکهها چیزی میسازد | قلعهای از شکلها، واژهای از حرفها |
| تکرار کن (Repeat) | الگویی از صدا یا نور را تکرار میکند | ریتمِ نهنگِ آوازخوان |
| انتخاب کن (Choose) | از میانِ 2 تا 4 تصویر، درست را برمیگزیند | «کدام بزرگتر است؟» |
| ردگیری (Trace) (صاحب پروژه، 2026-12-02) | با انگشت در مسیری درخشان، حرف یا رقمی را میکشد | حرفِ s روی شنِ خیس |
| فانوسهای رنگی (Coloured lanterns) | نسخهٔ کودکانهٔ پازلِ فانوسِ والدین: رنگها را مخلوط میکند تا جانوری را پیدا کند | زرد + آبی = قورباغهٔ سبز |
| داستانِ تعاملی (Interactive story) | در یک داستانِ کوتاه انتخاب میکند | «خرسِ کوچک غمگین است. چه کنیم؟» |
هر فعالیت یک داستانِ کوچک است (صاحب پروژه، 2026-12-01). قالب سازوکار است؛ آنچه کودک میبیند شخصیتی است که به کمک نیاز دارد. هر فعالیت با صحنهای گفتاریِ کوتاه آغاز میشود (حداکثر 4 ثانیه، با یک لمس رد میشود) که میگوید چه کسی چه میخواهد؛ شخصیتها هنگامِ بازیِ کودک واکنش نشان میدهند (نگاه میکنند، سر تکان میدهند، تکان میخورند، شادی میکنند)، و فعالیت با صحنهای پایان مییابد که نشان میدهد کمکِ کودک چه کرد (کیک شمعهایش را میگیرد، خرچنگ به خانهاش میرود). مهارتها، گامها، نردبانِ کمک و «بی حالتِ شکست» همانطور میمانند؛ داستان هرگز کودک را سرزنش نمیکند و هرگز روی پاسخِ نادرست نمیایستد. فایلِ فعالیت داستانش را نام میبرد: شخصیتها، کلیدهای صوتیِ آغاز و پایان و پویانماییِ پایان (T12-265: یک شیءِ اختیاریِ story با title، characters، intro، ending، endingAnimation و جملههای انگلیسی در text؛ جملهٔ آغاز حداکثر 12 واژه دارد؛ پایان حداکثر 4 ثانیه پخش میشود و لمسی پس از ثانیهٔ نخستش آن را تمام میکند؛ قاعدهها داستانی بیشخصیت، با کلیدِ صوتیِ نادرست یا با پویانماییِ ناشناخته را نمیپذیرند). پنج فعالیتِ نخستِ غنچهٔ ساحل اینگونه روایت میشوند:
| فعالیت | قالب | داستان |
|---|---|---|
| شمردنِ صدف | بشمار و بگذار | کیکِ تولدِ تاتی. تاتی یک کیکِ شنی پخته و N صدف رویش لازم دارد. هر صدفی که کودک روی کیک میگذارد بلند شمرده میشود؛ در پایان شمعها روشن میشوند و تاتی میرقصد. |
| ستارهدریاییِ بیشتر یا کمتر | انتخاب کن | مهمانی کجاست؟ مهمانیِ ستارههای دریایی روی صخرهای است که ستارهدریاییِ بیشتری دارد؛ کودک آن را لمس میکند و ستارهها میرقصند. در گامهای بعدی لاکپشتِ خوابآلود دنبالِ صخرهٔ آرام میگردد، همان که کمتر دارد. |
| قلعهٔ شنی | بساز | خانهای برای هرمی. هرمی، خرچنگِ گوشهگیر، برای صدفش بزرگ شده؛ کودک از شکلهایی که او میخواهد خانهای برایش میسازد. او به خانه میرود و از پنجره دست تکان میدهد. |
| دستهبندیِ صدفها | دستهبندی کن | خانوادههای صدف. موجی خانوادههای صدف را به هم ریخته؛ کودک هر صدف را به خانهاش میبرد و خانوادهاش هنگامِ رسیدن نُتی کوچک میخواند. |
| خطِ عددیِ خرچنگها | به ترتیب بچین | رژهٔ خرچنگها. خرچنگها میخواهند به ترتیبِ عدد رژه بروند؛ کودک آنها را به صف میکند، طبل آغاز میشود و رژه راه میافتد. |
ترتیبِ تازه بر پایهٔ مسیرِ یادگیری (صاحب پروژه، 2026-12-02، 7.5). این پنج داستان میمانند، اما ساحل اکنون با رنگها آغاز میشود: نخستین فعالیتهای ساحل هدفهای رنگاند (پیدا کن، برگزین، دستهبندی کن، مخلوط کن)، و کیکِ تولدِ تاتی نخست بهصورت داستانی رنگی برمیگردد (صدفهای قرمز و آبی روی کیکش) و سپس داستانِ شمردنِ واحدهای عدد میشود، با حداکثر 10 صدف در سطحِ غنچه. «مهمانی کجاست؟» فقط عددهایی را که پیشتر یاد گرفته شدهاند مقایسه میکند؛ رژهٔ خرچنگها 1 تا N را به ترتیب میچیند. داستانِ 1، همانطور که ساخته شده (شمردنِ صدف)، برای آزمایشکنندگان بازیکردنی میماند تا جای تازهاش در مسیر ساخته شود (T12-273).
پارامترهای قالب: شمارِ چیزها، شمارِ گزینههای نادرست، صحنه و شخصیت، کلیدهای صوتی، گامِ دشواری.
دوباره یا خانه (صاحب پروژه، 2026-12-02، از دنیای اومل). پس از پایانِ یک فعالیت، دو دکمهٔ بزرگ بیواژه منتظرند: تصویرِ خودِ فعالیت با یک پیکانِ گرد که آن را بیدرنگ دوباره بازی میکند (در گامی که مهارتش اکنون در آن است، 7.6)، و دکمهٔ باغ که به باغ برمیگرداند. هر دو دستکم 64 پیکسلاند و از هم فاصله دارند؛ اومل یک بار میگوید: «دوباره، یا برگردیم به باغ؟» کودکی که میخواهد آنچه را تازه یاد گرفته تکرار کند، هرگز لازم نیست دنبالش بگردد. شبها این دکمهها نشان داده نمیشوند (7.3).
بشمار و بگذار (صاحب پروژه، 2026-11-29). هر یک از پنج گامِ فایل یک هدف و شماری چیزِ اضافه میدهد. چیزها کنارِ ظرفاند: به اندازهای که هدف لازم دارد بهاضافهٔ چیزهای اضافه، پس کودک باید در عددِ درست بایستد. لمسِ یک چیز آن را در ظرف میگذارد؛ با چند ظرف، کودک نخست چیز و سپس سبدش را لمس میکند. لمسِ ظرف آخرین چیزِ گذاشتهشده را بیرون میآورد، و یک دکمهٔ بزرگِ تیک میگوید «تمام شد» (صاحب پروژه، 2026-11-29: تا هر هدف دستکم 64 پیکسل بماند؛ چیزهای درونِ ظرف کوچک کشیده میشوند). کودک میتواند چیزی را روی ظرف هم بکشد (طراحی 7.9: هر کشیدنی لمسِ همارز دارد)؛ فشاری که کمتر از 12 پیکسل جابهجا شود، لمس است. هر ظرف نشان میدهد چند تا میخواهد. دقیقاً به اندازهٔ هدف، موفقیت است؛ هر شمارِ دیگری یک اشتباه است و کمکِ 7.6 از پی میآید (T11-004): اومل میگوید «بیا دوباره نگاه کنیم» و دوباره میپرسد؛ سپس چیزهای درست میدرخشند و چیزهای اضافه کمرنگ میشوند؛ سپس اومل همهچیز را بیرون میآورد و چیزهای درست را یکییکی میگذارد و کودک تیک را لمس میکند. وقتی اومل چیزها را میگذارد، لمسها منتظر میمانند. دوری که با هم انجام شده، کمکِ کامل برای آن گام شمرده میشود (7.6). تصویرِ صفحه و گامهای کمکیاش: docs/art/templates/count-and-place.svg (T11-006). فایلهای شکوفه میتوانند اینها را بیفزایند:
container(هر سنی، T12-266): تصویرِ ظرف، مثلcakeتاتی؛ در دورِ داستانی، صدا پس از رسیدنِ هر چیز بلند میشمارد ظرف اکنون چند تا دارد («یک!»، «دو!»، تا بیست).groupSize: برخی چیزها در کیسههایی به همین شمار میآیند (صدفها دهتادهتا: کیسههای 10 تایی و صدفهای تکی)؛ هر کیسه به اندازهٔ شمارش حساب میشود.coinKinds: سکههایی از N ارزشِ نخستِ 1، 2، 5 و 10؛ کودک هدف را بهصورت یک جمع میپردازد.groupsوperGroup: همین شمار ظرف، هر کدام perGroup چیز لازم دارد؛ وقتی کودک میگوید «تمام شد» همه باید درست باشند.
انتخاب کن (T11-043). کودک از میانِ 2 تا 4 تصویر، درست را لمس میکند. نوعِ مقایسهای نخست میآید: هر گام دو گروه میدهد (groupA، groupB، هرگز برابر) و options؛ گزینههای بیشتر نخست میانِ دو گروه قرار میگیرند و سپس زیرِ گروهِ کوچکتر، پس کودک باید مقایسه کند. گزینهٔ درست بیشترین را دارد، یا کمترین را وقتی گام میگوید "ask": "fewer". جای تصویرِ درست با هر گام میچرخد، بدونِ شانس. لمسِ نادرست یک اشتباه است و کمکِ 7.6 از پی میآید: «بیا دوباره نگاه کنیم»، سپس تصویرهای نادرست کمرنگ میشوند، سپس با هم انجام میشود. دور منتظرِ لمسِ درست میماند؛ حالتِ شکست وجود ندارد. نوعهای دیگر (جمعها، اندازهها، آبوهوا) با داستانهای خودشان میآیند.
این تصویر هنوز در مخزن نیست: صفحههای نمونه برای 10 قالبِ فعالیت
قالبِ فانوسهای رنگی پلِ مستقیمِ میانِ دو دنیاست. والد و کودک یک بازی را در دو سطح با هم شریکاند و میتوانند سرِ شام دربارهاش حرف بزنند. نسخهٔ کودک صفحهای کوچک، فانوسهایی بزرگ، بیمحدودیتِ حرکت و هدفی ساده دارد.
7.5 مسیرِ یادگیری (صاحب پروژه، 2026-12-02)
پیشنویس است. باید با یک متخصصِ آموزشِ کودک بازبینی و نهایی شود (T00-025).
یک مسیر، منطقهها بهعنوان مکان. کودک به یک ترتیبِ روشن یاد میگیرد، برای همهٔ کودکان یکسان: نخست رنگها، سپس عددهای 1 تا 10، سپس حرفها. این ترتیب به این بستگی ندارد که فانوسبانها کدام منطقهها را باز کردهاند. ساحل همیشه باز است و کلِ مسیرِ غنچه را در خود دارد، پس هیچ کودکی هرگز منتظرِ کنار رفتنِ مه نمیماند؛ منطقهای که فانوسبان باز میکند، برای واحدهایی که کودک به آنها رسیده، مکانها، داستانها و بازیِ آزادِ تازه میافزاید و هرگز واحدی را جا نمیاندازد.
واحدها. مسیر از واحدهای کوچک ساخته شده، هر کدام یک چیز: رنگِ قرمز، عددِ 3، حرفِ s. هر واحد چند هدفِ کوچک دارد، از شناختنش تا به کار بردنش، و هر هدف بهصورت یک فعالیت بازی میشود (قالبی از 7.4 در یک داستان).
یادگرفته. یک هدف یادگرفته است وقتی کودک آن را سه بار بیکمک، در دستکم دو روزِ متفاوت درست انجام دهد. یک واحد یادگرفته است وقتی همهٔ هدفهایش یادگرفته باشند. واحدِ بعدی وقتی باز میشود که واحدِ پیشین یادگرفته شده باشد؛ کودکی که آن را از پیش میداند در چند دقیقه از آن میگذرد (نخستین دورهای درستِ بیکمک بیدرنگ شمرده میشوند)، پس کودکِ 5 سالهای که رنگها را میداند، روزِ دوم در عددهاست. واحدهای یادگرفته با تمرینِ فاصلهدار برمیگردند (7.6، «بازگشت»). کودک هرگز آزمون، نمره یا واحدِ قفلشده نمیبیند: واحدِ بعدی فقط بهعنوان ایدهٔ تازهٔ روز پیدا میشود.
غنچه (Bud)، سن 4 تا 5:
| مرحله | واحدها، به ترتیب | هدفهای هر واحد (به ترتیب) | قالبها |
|---|---|---|---|
| 1 رنگها | قرمز، زرد، آبی، سپس سبز، نارنجی، بنفش؛ سپس سیاه و سفید با روشن و تیره | پیدایش کن («صدفِ قرمز را پیدا کن») · از میانِ دو، سپس سه، برگزینش («کدام خرچنگ آبی است؟») · بر پایهاش دستهبندی کن (قرمزها برای تاتی، آبیها برای اومل) · برای سبز، نارنجی و بنفش: با مخلوط کردنِ دو فانوس بسازش | پیدا کن، انتخاب کن، دستهبندی کن، فانوسهای رنگی |
| 2 عددهای 1 تا 10 | 1 تا 3 با هم (با یک نگاه دیده میشوند)، سپس 4، 5، 6، 7، 8، 9، 10، یکییکی | همین شمار را بشمار و بگذار («4 صدف روی کیک بگذار») · رقم را بشناس («کدام صدف میگوید 4؟») · شمار و رقم را جفت کن · 1 تا N را به ترتیب بچین · بیشتر یا کمتر، درونِ عددهای یادگرفته | بشمار و بگذار، انتخاب کن، وصل کن، به ترتیب بچین |
| 3 حرفها | صدای حرفهای کوچک در گروههای آموزشی: s a t p i n · m d g o c k · e u r h b · f l j v w · x y z q؛ حرفهای بزرگ پس از همهٔ صداها | صدا را بشنو، حرف را پیدا کن («سسس را پیدا کن») · صدای نخستِ یک واژه (s برای sun) · حرف را با انگشت ردگیری کن · از حرفها واژهای دو یا سهصدایی بساز (پل به شکوفه: s-a-t) | پیدا کن، انتخاب کن، ردگیری (تازه، 7.4)، بساز |
رنگها همان شش رنگِ فانوسِ بازیِ والدیناند، پس «قرمزِ» کودک همان «قرمزِ» والد است، هر کدام با نمادِ فانوسش (7.9). فانوسبان میتواند علامت بزند که کودک برخی رنگها را خوب نمیبیند؛ آنگاه هدفهای رنگ، نماد را میشمارند و هرگز بهعنوان «نیاز به تمرین» تکرار نمیشوند.
کنارِ مسیر. شکلها، الگوها، احساسات، طبیعت و موسیقی روی مسیر نیستند و هرگز آن را نگه نمیدارند. آنها بهصورت بازیِ آزاد در منطقهها و بهعنوان فعالیتِ محبوبِ روز میآیند، و فقط از رنگها، عددها و حرفهایی استفاده میکنند که کودک پیشتر یاد گرفته است (الگویی از قرمز و آبی پیش از آنکه سبز باشد؛ شمردنِ شکلها درونِ عددهای یادگرفته).
شکوفه (Blossom)، سن 6 تا 8، همان مسیر را ادامه میدهد: عددها تا 20، سپس تا 100، جمع و تفریق تا 20، سپس تا 100؛ خواندنِ واژهها، جملههای کوتاه و املا؛ پول و زمان. کودکی که به 6 سالگی میرسد هر واحدِ یادگرفته را نگه میدارد و از نخستین واحدِ یادنگرفتهٔ شکوفه آغاز میکند. مسیرِ شکوفه پس از آن نوشته میشود که مسیرِ غنچه با کودکان آزموده شد (M21).
روز. سه ایدهٔ روز (7.3) اینهاست: هدفِ بعدی روی مسیر (تازه)، واحدی یادگرفته که نوبتِ بازگشتش رسیده (تمرین)، و یک محبوب (بازیِ آزادِ کنارِ مسیر).
منطقهها بهعنوان مکان (غنچه):
| منطقه | واحدهایی از مسیر که بازی میکند | کنارِ مسیر |
|---|---|---|
| ساحل (همیشه باز) | همهٔ مرحلههای 1 تا 3 (مرجان و صدف برای رنگها، عددهای خرچنگیِ تاتی، حرفها در شن) | شکلها، بیشتر و کمتر |
| جنگل | رنگها و عددها در طبیعت (شمردنِ فندق، دستهبندیِ برگها بر پایهٔ رنگ) | جانوران و خانههایشان، فصلها |
| بازار | عددها (شمردنِ میوه، سکهها تا 10 پس از مرحلهٔ 2) | دستهبندی، جفت کردن |
| غارِ کتابخانه | حرفها (صداها، صدای نخست، ردگیری) | قافیه، ترتیبِ داستان |
| خلیجِ موسیقی | عددها بهصورت ضربها | ریتم، الگوهای رنگ و صدا |
| درهٔ احساسات | هیچ | احساسات، نوبت گرفتن |
فهرستِ کاملِ فعالیتها در kids_levels.csv است. پنج فعالیتِ نخستی که کودکِ 4 ساله میبیند، به ترتیبِ مسیر، در ساحلاند: صدفِ قرمز را پیدا کن (مرحلهٔ 1، قرمز)، کدام خرچنگ زرد است، مهمانیِ ستارهدریاییِ آبی، کیکِ رنگیِ تاتی (صدفهای قرمز و آبی را روی کیکش دستهبندی کن)، و مخلوط کردنِ نخستین فانوسِ سبز؛ شمردنِ صدف با واحدِ عددهای 1 تا 3 از پی میآید.
7.6 دشواریِ سازگار و بازخورد بدونِ شکست
در بخش کودکان باختن وجود ندارد. کودک هرگز صدای پاسخِ نادرست نمیشنود، هرگز ضربدرِ قرمز نمیبیند، هرگز شمارشِ معکوس نمیبیند. هدف: همیشه کمی چالش، هرگز احساسِ ناتوانی.
وقتی کودک اشتباه میکند:
- اشتباهِ نخست. اومل مهربانانه میگوید «بیا دوباره نگاه کنیم» و پرسش را تکرار میکند.
- اشتباهِ دوم. پاسخِ درست کمی میدرخشد، یا گزینههای نادرست کمرنگ میشوند.
- اشتباهِ سوم. اومل پاسخ را نشان میدهد و با هم انجامش میدهند: «ببین: یک، دو، سه!»
دشواری برای هر مهارت جداگانه دنبال میشود:
- هر مهارت (مثلاً «شمردن تا 20») پنج گامِ دشواری دارد.
- پس از 3 موفقیتِ پیاپیِ بیکمک، مهارت یک گام بالا میرود.
- پس از 2 بار نیاز به کمکِ کامل، یک گام پایین میآید.
- همین دادهها دفترچهٔ فانوسبان را پر میکنند («یادگرفته» یا «هنوز تمرین لازم دارد»).
غنچه هیچ محدودیتِ زمانی ندارد. شکوفه زمان را فقط بهعنوان چالشی اختیاری دارد: «میخواهی تند بازی کنی؟»
وقتی کودک کاری نمیکند (از دنیای اومل): پس از 10 ثانیه بیلمس درونِ یک فعالیت، اومل پرسش را تکرار میکند؛ پس از 20 ثانیهٔ دیگر، نخستین راهنمایی آرام میدرخشد. سپس اومل منتظر میماند و تا لمسِ کودک چیزِ دیگری نمیگوید: حداکثر دو یادآوری در هر دور. کودکِ سرگرم هرگز قطع نمیشود و منتظر ماندن هرگز اشتباه نیست (در نردبانِ کمک شمرده نمیشود).
بازگشت (تمرینِ فاصلهدار، از دنیای اومل). مهارتی که کودک بر آن چیره شده، پس از 1، 3، 7، 14 و 30 روز بهعنوان ایدهٔ تمرینِ روز (7.3) برمیگردد، هر بار یک گام پایینتر از بهترین گامش، تا آسان و آشنا به نظر برسد. مهارتی که کمکِ کامل لازم داشت، فردای آن روز برمیگردد. گیاهِ تشنه (7.2) همیشه نخست میآید. کودک هرگز این برنامه را نمیبیند؛ دفترچهٔ فانوسبان آن را فقط بهصورت «دوباره تمرین شد در ...» نشان میدهد. این برنامه در قاعدهها زندگی میکند (برای هر کودک و مهارت: آخرین تمرین، روزِ نوبتِ بعدی، فاصله) و از شانس استفاده نمیکند.
ستایش همیشه برای تلاش است، نه برای درست بودن: «خیلی خوب فکر کردی!» بهجای «تو خیلی باهوشی!»
7.7 Characters, audio, language
Omel is with the child everywhere: a small glowing creature born from the lighthouse light. Omel speaks every instruction, helps, and carries the fireflies to the keepers at the end of each session. Omel is the living link between the two worlds.
The name is said "OH-mel". It appears only inside the game, never in an app name or icon, so it is not confused with other brands in store search.
Each region also has a local guide (see 7.1) who introduces that region's activities.
Audio:
- Every instruction is spoken. No activity depends on reading, except the reading activities at the Blossom level.
- Tapping Omel repeats the instruction.
- Sentences are short: at most about 8 words.
- A synthetic voice is enough for the prototype. For release, a recorded human voice is recommended.
- Prototype voice (owner, 2026-12-02): every line is spoken by a free neural voice through the Python tool edge-tts on the developer computer only, slightly slow (rate -10 %), Omel said "OH-mel", compressed with ffmpeg to small mono files, one file per audio key. Its licence does not cover a store release: before release a recorded voice (an adult actor doing a child-like voice, with a full buyout) replaces it under the same keys, and nothing in the game changes. Large AI voice services restrict child-like voices; a clone needs the actor's written consent.
Language:
- The game is in English: spoken instructions, screen text, parents' side and tips.
- Letter sounds, phonics and spelling follow English (for example "c" as in "cat").
- Word of the day. Each day Omel teaches one English word, with its picture and sound.
- Use a clear, neutral English voice, slow enough for a 4-year-old and for children who are learning English as a second language.
- All text and audio are keys (section 17.3), so a later translation needs no code change. A translation is not planned for version 1.
- The parents' screens (T07-027, 2026-11-26) keep every visible word in one English file,
unity/Assets/Resources/Texts/en.txt: one line per text,key = text,{0}for a number or name the game fills in, `
for a line break, #` for a comment. The game reads it once at the start; a missing key shows the key itself and fails a test. A level's own words (title, story, goal names) stay in the level file.
7.8 Rewards for the child
The main reward is the child's own world growing, not points and rankings. External rewards stay small and calm, so that the joy of learning is not replaced by collecting prizes.
- Garden growth. Each finished activity grows a plant by one stage.
- Island album. A sticker book of every creature the child has found or attracted.
- Stars. One per activity. No "three stars", no grades. Stars only show how much the child has played.
- Avatar. Clothes and small items bought with the keepers' seeds, so this reward always comes from the family.
Forbidden on the kids side: loot boxes, countdowns, any penalty for not playing (such as losing a daily streak), and comparison with other children.
7.9 Accessibility and safety on the kids side
Accessibility:
- Touch targets at least 64 px, with clear space between them.
- At the Bud level, every drag action also has a tap alternative.
- Every colour that carries meaning also has a shape.
- Optional subtitles for all audio.
- Accidental and repeated taps are ignored, so the child does not fall out of an activity.
- Day and night (T13-005, owner 2026-11-26): the parents' game is the harbour at night; the kids' island is the same harbour on a sunny morning, with dark navy text on light sky, sand and white cards, which young readers read best. The six paint colours are the same on both sides, so the child's "red" is the parent's "red". Both palettes are in one token file,
docs/art/palette.json; every text colour passes 4.5:1 on every background it is drawn on, in both palettes (a test). The day ends in the gentle night sequence.
Safety:
- Parent gate. To enter settings or the parents' side, a button must be held for 3 seconds and then a simple question for adults answered.
- No external links, purchases, ads or chat.
- Offline play. Activities are stored on the device. Progress syncs later.
- Play time. The parent sets the session length (default 20 minutes). The end is always the gentle "night" sequence.
8. The bridge between the two worlds
The link is the heart of the product. The child must feel the parent's presence, and the parent must see what their effort did.
From keeper to child:
- The reveal. When a region opens, the child sees a special animation: the beam turns, the fog retreats, and a message plays: "Mum lit this up for you!" (T12-004: the beam sweeps across the region while the fog thins and drifts off, 5.5 seconds; until the family link brings the keeper's name, Omel says "Your family lit this up for you!", common.region_lit. Test link: ?reveal=beach.)
- Message in a bottle. A keeper can send a short voice message or a sticker. It arrives in a bottle on the child's beach.
- Seed parcel. Seeds the keeper collected by finding objects arrive as a wrapped gift.
- Three magic words (owner, 2026-12-02, from Omel's World). In the lighthouse a keeper may record three short words in their own voice: the child's nickname, "Well done!" and "I love you". The game weaves them in: after an activity's praise the keeper's "Well done!" plays, the region reveal starts with the child's name, and the night ends with "I love you". A word never recorded simply does not play; Omel's own line is always there, so no family misses out. Each keeper's words are their own (Grandma's "I love you" in Grandma's voice). The recordings stay on the device they were made on (section 11).
- Tomorrow's promise (owner, 2026-12-02, from Omel's World). When the keeper's play earns something for the child (a seed parcel, a region, a creature), the end of the level says exactly what the child will find next time: "Lena will find a seed parcel on her beach." The child finds exactly that, so keeper and child wait for the same thing. The words come from the gift itself, never a guess.
From child to keeper:
- Fireflies (section 6.6).
- Produce basket. Fruit and vegetables from the garden go to the keepers' pantry (section 6.7). The child later sees them in the parent's town through Omel's telescope.
- Drawings. The child draws on the island. The drawing can hang on the lighthouse wall and becomes the weekly drawing level.
- Garden report. In the lighthouse the keeper sees a small map of the child's garden.
- Weekly report. "Lena practised subtraction 4 times this week and grew 3 new flowers in the forest you opened."
Together (weekends):
- Island treasure. The child finds map pieces in the garden. The keeper uses them in a special level. The reward is a rare creature for both.
- Real-world mission. "Find 5 yellow leaves in the park with Dad." The keeper confirms with one button and the child gets a golden leaf in the garden.
- City of Lighthouses. All families together light one giant lighthouse over the weekend. When the shared goal is reached, every child gets a special creature. Community without competition. (After version 1.)
9. Family features, reports, notifications
9.1 Roles
One account per family. Several keepers can make light for the family's children.
| Role | Can do | Limit |
|---|---|---|
| Main parent | Creates the account, manages child profiles and settings | 1 |
| Second parent | Everything in the game and the reports | 1 |
| Guest keeper (grandparent, aunt, uncle) | Plays their own lighthouse, sends light and messages | Up to 4, invited by the main parent |
- Shared light. All keepers' light goes into one pot per child. The daily cap is per keeper.
- Several children. Each child has their own island and profile. At the start of a session the keeper picks which child the light goes to. The default is the child with the least light.
- Messages. Only between members of the same family. A guest keeper's message is shown to the main parent first and only then reaches the child.
- Family far away. A grandmother in another country can be a guest keeper and send light and messages to the child.
Free and paid: the free game fully covers two parents and one child, with all regions. Guest keepers, a second and third child, extra story packs and the full weekly report belong to the family subscription (section 10).
9.2 Keeper's notebook (the child report)
A notebook on the desk in the keeper's room. Goal: in under 30 seconds the parent knows what the child learned and how to help.
- This week at a glance. Days played, minutes, activities finished.
- Garden map. A small copy of the child's garden. Wilting plants show which skill has not been practised for some days.
- Strongest and weakest skill, in plain words: "Counting to 20: mastered. Letter sounds: still needs practice."
- One real-world suggestion for the weaker skill: "At dinner, spell the names of the foods."
- Special moments. The child's drawings and messages.
- Keepsake cards (owner, 2026-12-02, from Omel's World). A milestone (a plant in blossom, a skill mastered, a region opened) leaves a card in the notebook: its picture, one line ("The shell flower is in blossom: counting to 10!") and the day, newest first. A card can be shared as a picture through the phone's share sheet, only by the keeper's deliberate tap; the picture never carries the child's name or any other child data, by construction.
- The question of the day (owner, 2026-12-02, from Omel's World). Once a day the notebook asks one small question ("What made your child laugh today?"), answered with one tap on an emoji. The answer becomes a dated note among the special moments. It is never homework: no reminder, no reward, and skipping is always fine.
Every Sunday a short weekly report is ready in the notebook. It can be shared with the grandparents.
9.3 Notifications
Only for keepers, at most one per day, never guilt-inducing. A sentence like "Your child is waiting for you" is forbidden.
| Notification | When | Example |
|---|---|---|
| Gift from the child | Evening, when the child sent fireflies | "Lena sent you 3 fireflies." |
| Region is close | When fewer than 50 light are missing | "The forest is only 2 levels away." |
| Weekly report | Sunday evening | "Lena's report for this week is ready." |
| Family message | When another keeper sent a message | "Grandma sent Lena a message." |
- Quiet hours. No notification between 21:00 and 08:00.
- Child device. No notifications on a child profile, ever.
- Full control. Each type can be switched off separately. At sign-up only "gift from the child" and "weekly report" are on.
10. Business model
Parents are never forced to pay. The kids side never has ads or purchases.
| Source | How it works | Note |
|---|---|---|
| Family subscription "Golden Lantern" | Sells extras, never shortcuts: guest keepers, second and third child, extra story packs, full weekly report | Suggested price about 4 to 5 euro per month; validate in tests |
| School and kindergarten edition | A teacher manages unlocks in place of the parents | Yearly contract per institution |
| Education sponsors | Libraries, cities or foundations pay for a region for everyone | Also good for trust |
| Story packs | Extra read-aloud stories and seasonal content | Bought only on the parents' side |
| Ads, parents' side only (later) | An optional video for 5 extra moves after a loss | Not at launch |
Decisions:
- No ads at launch. Early income is the family subscription and sponsors.
- Ads later, and only on the parents' side. Only family-safe ads, always optional.
- The subscription never sells regions. Opening regions is the parent-child bond itself. Selling it would remove the reason the product exists.
11. Privacy and child safety
The game is built for children in the EU. GDPR and child-protection rules are part of the design from day one. In Austria the age of digital consent is 14. This section is not legal advice. A lawyer who specialises in children's privacy must review the product before release.
- Accounts are for adults only. A parent signs up and creates the child profile. The child never enters an email address or personal data.
- Parent gate on every path from the kids side to settings or the parents' side.
- Kids side has no ads, purchases, chat with strangers, external links, or advertising tracking.
- Data minimisation. Store only what the learning progress needs. A child profile is a nickname, an age band and an avatar. No surname, no birth date, no photo.
- EU hosting. All servers and storage inside the EU.
- Voice messages and drawings move only between members of one family. They are personal data of a child or adult and are stored encrypted, deleted when the family deletes them or the account.
- Healthy screen time. After the time set by the parent (default 20 minutes), the island turns to night and the creatures suggest a rest.
- Deletion and export. A parent can export and delete all family data from the settings.
- Magic words, keepsakes and notes (8, 9.2) stay on the device: the recordings are never uploaded, the daily notes are not synced, and a shared keepsake picture holds no child data. The screens say so where the words are recorded and where a card is shared.
- Development rule. Real children's data and production secrets never exist on a developer machine. Test data uses invented names.
12. Architecture
12.1 One app first, two apps before the first ad
The game starts as one app, Lantern Island, with a parents' area and a kids' area behind a parent gate. Before the first ad is added, it splits into two apps built from the same Unity project:
| App | For | Ads | Store placement |
|---|---|---|---|
| Lantern Island | Parents | Allowed, but only after the split | General games category |
| Lantern Island Kids | Children 4 to 8 | Never | Apple Kids category; Google Play Families programme |
Why split at all: app stores have strict rules about ads and trackers in apps that children use. While one app holds both worlds, it is treated as an app for children, so it carries no ads and no third-party analytics. The exact store rules are checked with a specialist before the split.
Rules for the one-app phase, so that the split is a build setting and not a rewrite:
- The code of the two sides lives in separate assemblies (
Parents,Kids) that share only theRuleslibrary and the family-account client. - The family account lives in the backend, not inside the app. Light, seeds, messages, fireflies and produce always go through it, even when both areas run on one device.
- No ads SDK, no third-party analytics and no external links anywhere in the app until the split. Purchases only in the parents' area, behind the parent gate.
- Because the app has a kids' area, Google Play's Families policy and Apple's rules for apps used by children apply from the first upload.
- Child data is stored separately. Nothing third-party can reach it.
- Two app build profiles exist from the start; the kids-only one is switched on at the split.
At the split a family keeps everything: the child's device joins the family with a family code, and the child's progress comes with it.
Side benefit of the split: the child no longer touches the parent's phone. Families with only one device can install both apps on it.
12.2 Technology
| Part | Choice | Why |
|---|---|---|
| Game, both areas | Unity 6 (LTS), C#, from day one | Graphics and animation heavy 2D game; one code base for Android, iOS and the web; C# is close to Java. Nothing is built twice: the TypeScript prototype is dropped |
| Rules engine | Pure C# library without UnityEngine (C# 9, .NET Standard 2.1), tested with dotnet test | Tests run in seconds, even while the Unity editor is open; the same code can run in the backend |
| Level tools | Python in tools/ | Level generator, robot player, level pictures; the reference for the golden games (12.3) |
| Backend | Unity Gaming Services: Authentication, Cloud Save, Cloud Code (C# modules) | Free allowance; works on Android, iOS and the web; server rules in C# with the same Rules library |
| Web build | Unity Web, hosted on Cloudflare Pages | Testers get a link, no install, no store |
| iOS build | An own Mac, or Codemagic's free tier | Xcode needs macOS |
| Payments | Unity In-App Purchasing for Google Play and the App Store | Free package; the stores take their share; no payments on the web in version 1 |
| Code, tasks, CI | GitLab Free | Issues, board, CI (section 15, step 9) |
Not chosen: Firebase, because its Unity SDK does not support web builds; an own Spring Boot server, because hosting costs money every month and needs care. It stays an option if the free allowances ever become too small.
12.3 The rules engine
All game rules live in one pure C# library with no UI, no network and no unseeded randomness:
Board: grid, lanterns, seeded fill, swap, match detection, gravity, refill, shuffle.Paint: painting, colour mixing, hidden objects.Specials: big lantern, white lantern, prism.Goals: the ten level goals and the modifiers of section 4.12 and 5.1.Level: level file loading and validation, moves, win and lose.Preview: which cells a swap would paint.Economy: every number from section 6.Adaptive: the per-skill difficulty steps from section 7.6.
Where it lives: inside the Unity project as a local package, unity/Packages/com.lanternisland.rules/, with an assembly definition that has no engine references. A separate test project, rules-tests/, compiles the same source files with the .NET SDK, so dotnet test runs without Unity. The code must stay inside what Unity compiles: C# 9 and .NET Standard 2.1. The test project sets LangVersion 9 so that a newer feature fails at once.
The Unity screens only draw state and send moves. There is one implementation of the rules.
The Python simulator in tools/ stays as a design tool (generator, robot player, level pictures) and as the reference. Golden games recorded from it (seed, moves, end state) must replay identically in C#. A rule change goes into both, and the golden games show at once when the two differ.
12.4 Backend model (Unity Gaming Services)
Entities: Family, Keeper (role), Child (nickname, age band, level), LightPot (per child), SeedPot (per child), KeeperProgress (levels, stars, fireflies, town: steps, styles, touches), Pantry (per keeper: produce), RegionState (per child and region: fogged, open; activity completion), SkillState (per child and skill: step, streak), Message (bottle, sticker, voice, drawing), Event (append-only log).
Where they live:
- Authentication: every device signs in anonymously; children never give an e-mail address. A parent can later link an Apple or Google sign-in to recover the family on a new phone.
- Cloud Save: the family record, and the data of each keeper and each child.
- Cloud Code (C# module): the only code that changes light, seeds, stars, fireflies and produce. It uses the same Rules library for the economy numbers.
Sync:
- The backend is the authority for light, seeds, stars, fireflies and produce.
- Clients send events, each with a client-generated id, so resending is harmless:
LevelWon,ObjectFound,ActivityCompleted,FireflySent,ProduceSent,TownStepBuilt,FeastHeld,RegionOpened,MessageSent. - Both areas work offline. They queue events and send them when online.
- The backend applies caps and gates (daily cap, child gate, overflow to seeds, moonlight).
- Moonlight is computed when the child's device next connects (nights since the last claim), so no nightly job is needed.
- Family link: the parent's device shows a 6-digit family code; another device joins with it.
Set a billing alert in the Unity dashboard. Above the free allowance, use is billed (12.6).
12.5 Platforms and builds
Every app ships on Google Play, the Apple App Store and the web.
| Platform | How it is built | How testers get it | Watch out |
|---|---|---|---|
| Web | Unity Web build (gzip), tools/unity-build.sh web | A link on Cloudflare Pages (free), tools/publish-web.sh. Pages compresses files itself and drops a Content-Encoding header of its own files, so the build uses Decompression Fallback | Unity 6 runs in mobile browsers, but keep the first download small (target under 30 MB) and test early on an older iPhone, where memory is tight. A host that cannot send headers needs Decompression Fallback (slower start) |
| Android | .aab, IL2CPP, ARM64, tools/unity-build.sh android | Play Console internal testing, then closed testing | A personal Play account created after 13 November 2023 needs a closed test with at least 12 testers for 14 days in a row before the first production release |
| iOS | Unity exports an Xcode project; Xcode builds and signs it on macOS | TestFlight | No Mac: Codemagic's free tier (500 macOS minutes a month) builds the Xcode project and uploads it to TestFlight |
One Unity project with build profiles per platform, and later per app. Unity tests and builds run on the developer's computer; GitLab CI runs the fast checks (dotnet test, level checks).
Web build rules: load each harbour's art only when it is needed (Addressables), so the first download stays small. After the split, Lantern Island Kids on the web is its own build at its own address and contains no ads code; only the parents' web build may show ads. If the web build stays too slow on phones, phones get a page that links to the store apps and the web build stays for desktops and tablets.
12.6 Costs
The goal is near-zero cost. The only fixed payments are the store accounts.
| Item | Cost |
|---|---|
| Apple Developer Program | $99 a year. Needed only from the first TestFlight build |
| Google Play developer account | $25 once |
| Unity Personal | Free while revenue and funding stay under $200,000 a year. The splash screen is optional in Unity 6 |
| Unity Gaming Services | Free allowance: Authentication free; Cloud Save 1 million reads, 1 million writes and 5 GiB a month; Cloud Code 1 million calls a month. Above that, billed by use |
| GitLab Free | Issues, board, 400 CI minutes a month |
| Codemagic (only without a Mac) | Free tier: 500 macOS build minutes a month |
| Web hosting | Cloudflare Pages: free |
| VS Code, .NET SDK, Python, Git, Git LFS | Free |
| Animation and effects | Free: Unity's own tools (2D Animation, particles, Timeline, Shader Graph) or one free tween library. No paid animation tools such as Spine |
| Store share of sales | Not a fixed cost: Apple and Google take 15 % of subscription income for small developers (Apple only after joining its Small Business Program) |
Not in this table, and not free: illustration, a recorded human voice, legal advice and an education specialist (section 13). Free allowances change; check them again before each milestone.
Ways to keep those near zero too:
- Art: the flat geometric style of section 13, drawn in code or in free tools; free CC0 packs where they fit.
- Voice: free text-to-speech for the prototype; for release the developer records the voice, or the synthetic voice stays if testers prefer it.
- Expert reviews: look for free routes first (start-up programmes, the chamber of commerce WKO, universities). Do not skip the reviews: they protect a children's product.
- Any new cost goes into the decision log before it is spent.
Storage: GitLab Free's 10 GiB per project (repository and Git LFS) fits the estimated 5 GB if layered art sources stay out of Git (docs/storage.md, T01-055). Open point that could cost money: the push-notification service, which is not chosen yet (task T17-019).
13. Risks, open points, competition
The most important open question is funding for the build and test period. There are no ads at the start, so the answer decides how large version 1 can be.
| Topic | Why it matters | Solution or next step |
|---|---|---|
| Is Lantern Island fun? | The mechanic is new and untested with real players | A playable prototype with 20 levels, tested with 10 to 15 real parents. The one metric: do they come back the next day without being asked? |
| Funding | Without ads, early income is only subscriptions and sponsors | Choose between savings, an investor, or grants and start-up programmes for education and digital projects in Austria |
| Business numbers | Subscription rate and cost per new user are guesses | A simple financial model with three scenarios |
| Kids content | Only 10 activities are designed; six regions need about 90 | The 11 templates make this data work; curriculum review by a child-education specialist |
| Audio | Every activity needs a clear English voice | Synthetic voice for the prototype; a recorded voice before release |
| After the six regions | The main content lasts about 4 weeks | Monthly garden seasons, later a second island; light always has a purpose |
| Team and cost | In effect two games | Programming with Claude Code; free tools and free allowances (12.6); budget and time for art and animation, voice, level tuning, education and legal advice, marketing |
| Message of the game | Asking parents to play on a phone while talking about healthy screen time looks contradictory | Stress the daily cap, short sessions and real-world missions |
| Store rules for kids' apps | They forbid ads and trackers in an app with a kids' area | One app with no ads or third-party SDKs; split into two apps before the first ad (12.1); specialist advice before the split |
| Unity on the web | Large first download and tight memory on older iPhones | Keep the web build small, test on an old iPhone in M1; the stores stay the main channel |
| iOS without a Mac | Xcode runs only on macOS | Codemagic's free tier builds and uploads to TestFlight (12.5) |
| Google's 12-tester rule | A new personal Play account needs 14 days of closed testing with 12 testers | Plan it into M3; invite the parents from the first tests |
| Free allowances | Use above the free tier is billed | Billing alerts in Unity and Codemagic; check the numbers before each milestone |
| Claude Code and the Unity editor | Claude writes code and tests but cannot see scenes or the game view | Build screens from code and small prefabs; you check every visual change in the editor and on a phone |
| Free competitors | Khan Academy Kids is free with no ads or subscription | Position on the parent-child bond and the parents' own game, not on price |
If the Lantern Island mechanic fails in testing, the fallback is a plain lantern-themed match-3 with all the innovation in the link to the child. The product still stands.
Things only a human can do, not Claude Code: detailed illustration, a warm human voice for children, testing with real parents and children, testing on real phones and tablets, judging scenes and animation in the Unity editor, legal and educational sign-off, store accounts and company registration.
A way to keep art cost low: choose a simple, flat, geometric vector style, drawn as SVG files and exported to sprites for Unity. It suits the colour theme, reads well for children, and stays sharp on every screen.
Decided 2026-11-17 (owner, T13-001): the art is this flat, geometric vector style, drawn as SVG files by Claude Code and exported to sprites. The depth and the "high-level" feel come from Unity itself: 2D lights and bloom on the lanterns, an animated night sea, particles when paint splashes, smooth animation, and each finished picture coming alive. An illustrator can replace single pictures later without changing the code.
Decided 2026-12-01 (owner): the kids' world is 3D, rendered with Blender. The flat style stays on the parents' side. On the kids' side the owner found the flat pictures too far from the expectation (look, characters, life). The characters (Omel, Tati and the other guides and creatures), the things the child plays with and the scenes are modelled in Blender (free, only on the developer computer, like the big lanterns of T13-051) from scripts in tools/blender/, and rendered as soft, lit, toy-like pictures: rounded shapes, warm sunlight, soft shadows. The characters are big on the screen and expressive; each has its poses rendered as frames (hello, think, cheer, dance and the story moments) that Unity plays with a little squash and bob. Only the rendered PNGs go into the game. One test screen (Shell counting as Tati's birthday cake, with Tati and Omel) comes first, for the owner's approval, before more is modelled. No cost.
14. Roadmap
Start small: one region and one puzzle, test with a few families, and grow only when it works. The durations are estimates and depend on the team.
| Phase | Months | Content | Gate to the next phase |
|---|---|---|---|
| 1. Prototype | 1 to 2 | Beach region; 20 Lantern Island levels in the Unity web build, as a link | 10 families play it and enjoy it |
| 2. Test | 3 to 5 | Forest and market; more levels; keeper's notebook; Android internal test and TestFlight | Children come back 3 times a week |
| 3. Soft launch | 6 to 8 | One app on Google Play, the App Store and the web; English; subscription | Parents still play after 30 days |
| 4. Growth | 9 and later | All six regions; split into two apps; ads in the parents' app only; school edition | (none) |
A phase starts only when the gate before it has been passed. The key question of phase 1 is whether parents really enjoy the lighthouse puzzle.
15. Preparing Claude Code
Claude Code is ready for this project when four things are in the repository: this design file, a short CLAUDE.md, permission rules, and the game rules as tests. Without them, Claude Code guesses from zero in every session and the project slowly becomes a tangle.
Three ideas behind every step:
- Tell Claude what it cannot see. Design decisions, game rules and child-privacy limits are not in the code, so they must be in files in the repository.
- Give Claude a check it can run. Tests. Without them, "done" is only a claim.
- Enforce the rules that have no exceptions.
CLAUDE.mdis guidance. Something that must never happen (such as reading the secrets file) is blocked with a permission rule or a hook.
Step 1: Install and sign in
Claude Code runs in the terminal and needs a Pro, Max, Team, Enterprise or Console account. The free Claude plan does not include it.
# macOS, Linux, WSL
curl -fsSL https://claude.ai/install.sh | bash
# Windows PowerShell
irm https://claude.ai/install.ps1 | iex
# check
claude --version
claude doctor
- [ ] Git is installed (
git --version) - [ ] Claude Code is installed and
claude doctorreports no errors - [ ] In a test folder,
claudestarts and you are signed in through the browser - [ ] Unity Hub and Unity 6 LTS are installed with the Android, iOS and Web build modules. Sign in with a Unity ID and choose the free Personal licence (section 12.6).
- [ ] The .NET SDK (8 LTS or newer) is installed (
dotnet --version), for the fast rules tests - [ ] VS Code with the C# Dev Kit and Unity extensions is Unity's external script editor
- [ ] Python 3 is installed (
python3 --version), for the level tools - [ ] Git LFS is installed (
git lfs install), for pictures and sounds
Node.js is not needed any more. If it is already installed, it does no harm.
Step 2: Repository and folders
lantern-island/
├── CLAUDE.md # short project guide for Claude
├── .claude/
│ ├── settings.json # permissions and hooks (committed)
│ ├── rules/ # rules that load only for matching paths
│ ├── skills/ # /next-task, /board, /new-level, /new-activity
│ └── agents/ # reviewer subagents
├── docs/
│ ├── GAME_DESIGN.md # this file
│ ├── decisions.md # one line per decision, with date
│ └── tasks.md # current milestone and the GitLab board link
├── unity/ # the Unity 6 project
│ ├── Assets/
│ │ ├── Scripts/Game/ # shared: family client, save, audio, UI kit
│ │ ├── Scripts/Parents/ # parents' area (later the Lantern Island app)
│ │ ├── Scripts/Kids/ # kids' area (later the Lantern Island Kids app)
│ │ ├── Tests/ # Unity edit-mode and play-mode tests
│ │ └── StreamingAssets/ # levels/, activities/, town/ (JSON data)
│ ├── Packages/com.lanternisland.rules/ # pure C# rules engine (no UnityEngine)
│ └── ProjectSettings/
├── rules-tests/ # dotnet test project for the rules package
├── backend/ # later: Cloud Code C# module
├── tools/ # Python level tools, build and test scripts
├── .gitlab-ci.yml # fast checks on every push
└── codemagic.yaml # only if iOS is built without a Mac
- [ ]
git initand a first commit with these empty folders - [ ] A Unity
.gitignore(Library/,Temp/,Obj/,Build*/,Logs/,UserSettings/) plus.env,CLAUDE.local.mdand.claude/settings.local.json - [ ] Pictures, sounds and fonts tracked with Git LFS (
.gitattributes) - [ ] Unity: Asset Serialization "Force Text" and visible meta files, so that every change is a readable diff
- [ ] A private GitLab project as the remote
The rules package is separate because the Lantern Island rules and the economy are pure logic and can be tested without graphics. It is the heart of the project.
Step 3: Put the design in the repository
- [ ] Save this file as
docs/GAME_DESIGN.md - [ ] Keep all economy numbers only in section 6
- [ ] From now on the repository is the source of truth: design changes go into this file first
- [ ] Keep code, names, tests and this file in English. One language reduces mistakes.
This file is long. Tell Claude which section to read for a task ("read section 4"), so that it does not load the whole file every time. If the file becomes hard to work with, split it into one file per section under docs/design/ and update the references.
Step 4: Write CLAUDE.md
CLAUDE.md in the repository root is read at the start of every session. Keep it under 200 lines: only what Claude cannot learn from reading the code. Long files are followed less well.
A starting version (replace the commands with the real ones once the project exists):
# Lantern Island
Two connected games that share one family account:
- Parents: "Lantern Island", a match-3 where matches paint cells and reveal hidden objects.
- Kids (ages 4-8): a learning island that the parents' play unlocks.
The design lives in docs/GAME_DESIGN.md. Read the section for the area you work on before
changing code. Tasks: GitLab issues (start with /next-task, see the Task board section).
Current milestone: docs/tasks.md. Past decisions: docs/decisions.md.
# Commands
- Rules tests (fast, Unity may stay open): dotnet test rules-tests
- One test class: dotnet test rules-tests --filter "FullyQualifiedName~Mixing"
- Unity tests (Unity editor closed): tools/unity-test.sh editmode | playmode
- Level checks: python3 tools/check_levels.py 1 20
- Builds: tools/unity-build.sh web | android | ios
# Structure
- unity/Packages/com.lanternisland.rules/: pure C# rules engine. No UnityEngine, no network,
no randomness without a seed. C# 9 and .NET Standard 2.1 only.
- unity/Assets/Scripts/Parents and Kids: screens only. Never put rule logic there; call Rules.
- unity/Assets/StreamingAssets/: levels, activities, town (JSON). New content is a new file.
- tools/: Python level tools; their golden games are the reference for the C# rules.
# Rules
- A change to game rules starts with a failing test in rules-tests/.
- A rule change also updates tools/lanternisland_sim.py, and the golden games must pass.
- Every economy number comes from section 6 of docs/GAME_DESIGN.md through Rules/Economy.cs.
No magic numbers anywhere else.
- Every level file must pass the level checks before commit.
- Build screens from code and small prefabs. Do not hand-edit .unity or .prefab YAML unless asked;
tell me what to set in the editor instead.
- If a request conflicts with the design, stop and ask. Update the design first, then the code.
- When a design decision is made in a session, add one dated line to docs/decisions.md.
# Never
- No ads, analytics, tracking SDKs or external links in anything on the kids side.
- No real names, photos or voices of children in test data, fixtures or logs.
- No new dependency, Unity package or Asset Store item without asking first.
- [ ] Write
CLAUDE.mdby hand. In an empty repository there is nothing to analyse. Once code exists, run/initso Claude can suggest improvements. - [ ] In a session, run
/contextand confirm the file is loaded - [ ] Put personal preferences in
CLAUDE.local.md(git-ignored) - [ ] Whenever you have corrected the same mistake twice, add one line to
CLAUDE.md
Rules for one part of the code go into .claude/rules/ and load only when Claude reads matching files. Example, .claude/rules/kids-side.md:
---
paths:
- "unity/Assets/StreamingAssets/activities/**"
- "unity/Assets/Scripts/Kids/**"
---
# Kids side rules
- Every instruction a child sees must have an audio key. No activity may depend on reading
(except reading activities at the Blossom level).
- There is no fail state: no wrong-answer sound, no red cross, no countdown.
- Touch targets are at least 64 px.
- Every colour that carries meaning also has a shape.Step 5: Permissions
.claude/settings.json says what Claude Code may do without asking and what it may never do.
{
"permissions": {
"allow": [
"Bash(dotnet test *)",
"Bash(dotnet build *)",
"Bash(dotnet format *)",
"Bash(python3 tools/*)",
"Bash(tools/unity-test.sh *)",
"Bash(git add *)",
"Bash(git commit *)",
"Bash(git push origin main)",
"Bash(glab issue view *)",
"Bash(glab issue list *)"
],
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(./secrets/**)",
"Bash(git push --force *)",
"Bash(git push -f *)",
"Bash(glab mr create *)",
"Bash(glab mr merge *)",
"Bash(glab issue close *)",
"Bash(glab issue delete *)"
]
}
}
- [ ] Save the file and commit it
- [ ] Run
/permissionsin a session and see the rules - [ ] Ask Claude to read
.envand see that it is refused - [ ] Check that a force push is refused (Claude pushes normal commits to main itself)
Limits: a Read deny rule stops the read tool and commands like cat .env, but not a script that opens the file itself. For an operating-system-level limit, switch the sandbox on with /sandbox.
Step 6: Game rules as tests
The most important part of the preparation. This project needs two kinds of check.
| Check | What it proves |
|---|---|
| Mixing tests | Section 4.5: the table and the "replace the oldest colour" rule |
| Painting tests | Only the player's match paints; cascades do not |
| Hidden-object tests | An object is found when all its cells are right, and stays found |
| Special-lantern tests | Match of 4, match of 5, prism |
| Economy tests | Section 6: rewards, daily cap, child gate, overflow to seeds, moonlight |
| Adaptive tests | Section 7.6: 3 successes up, 2 full helps down |
| Golden games | The C# rules replay games recorded from the Python reference exactly |
Level checks (tools/check_levels.py) | Every level can be won and its win rate is inside the target of 5.2 |
- [ ] First request: "From section 4 of docs/GAME_DESIGN.md write only the tests, no implementation"
- [ ] Read the tests yourself. They are Claude's reading of the design. Misunderstandings show up here, cheaply.
- [ ] Then ask for the implementation: "keep going until all tests pass"
- [ ] All randomness is seeded, so every bug can be replayed exactly
The robot player plays each level hundreds of times and reports the win rate. It does not say whether a level is fun. Only real parents can say that.
Step 7: Skills, subagents, hooks
Build these after step 6, and only when you repeat a job for the third time.
| Tool | Where | For this project |
|---|---|---|
| Skill | .claude/skills/<name>/SKILL.md | /new-level, /new-activity, /check-design |
| Subagent | .claude/agents/<name>.md | Child-privacy reviewer, design-conformance reviewer |
| Hook | .claude/settings.json | Tests must pass before a task can end |
Level skill, .claude/skills/new-level/SKILL.md, run as /new-level 23:
---
name: new-level
description: Create a new Lantern Island level file and verify it with the solver
argument-hint: [level-number]
disable-model-invocation: true
---
Create level $ARGUMENTS.
1. Read section 5 of docs/GAME_DESIGN.md. Find the harbour and the new element for this level.
2. Copy the closest existing file in levels/ and adapt board size, moves and hidden objects.
3. Run `python3 tools/check_levels.py $ARGUMENTS`.
4. If the first-try win rate is outside the target in section 5.2, adjust the moves and rerun.
5. Report the final win rate. Do not commit.
Privacy reviewer, .claude/agents/kids-privacy-reviewer.md (read-only):
---
name: kids-privacy-reviewer
description: Reviews changes that touch the kids side, the server or stored data for child-privacy problems
tools: Read, Glob, Grep
---
You review code for a children's learning game (ages 4-8, EU, GDPR applies).
Check the changed files against section 11 of docs/GAME_DESIGN.md and report, with file and line:
- any personal data of a child that is stored, logged or sent anywhere
- any third-party SDK, network call or external link reachable from the kids side
- any path from the kids side into settings or the parents side without the parent gate
Report only real findings. If there are none, say so.
Use it after every change to the kids side or the server: "Use the kids-privacy-reviewer subagent to review my changes." It does not replace a specialist review before release.
Test hook. It stops Claude from declaring a task finished while tests fail. Exit code 2 blocks the stop and the error output goes back to Claude. It sits beside permissions in the same .claude/settings.json:
{
"hooks": {
"Stop": [
{
"hooks": [
{ "type": "command", "command": "dotnet test rules-tests 1>&2 || exit 2" }
]
}
]
}
}
- [ ]
/new-levelexists and was tried on one level - [ ]
/new-activityexists, same pattern, for kid activity files - [ ]
kids-privacy-reviewerexists - [ ] The Stop hook is added and visible with
/hooks - [ ] Test: ask for a change that breaks a test and watch Claude keep working until it is green
The hook runs only the fast rules tests. Unity tests need the editor closed, so run tools/unity-test.sh yourself before a merge request, or ask Claude to after you close Unity.
What Claude Code can and cannot do in Unity: it writes C# scripts, editor scripts and tests, runs the test and build scripts, and reads the console log file. It cannot see the editor or the game view. You check every visual change in the editor and on a phone, and you can paste a screenshot into the session when something looks wrong.
Step 8: Daily way of working
Each session is one small task from section 16, with a clear "done when", and ends with one commit. Split anything larger than one session before starting.
- Fresh session. Use
/clearbetween unrelated tasks. - Precise request. Say what, where, and how to check it.
- Plan before code. For anything that changes more than one or two files, ask for a plan first and read it. Shift+Tab switches between permission modes.
- Watch the first minute.
Escstops Claude./rewindrolls the code or the conversation back. - Two failed corrections mean a fresh start. Use
/clearand write a better request. - Read the diff. Review every commit as you would review a colleague's code.
- Test on a real phone. Green tests mean the rule is right, not that the game feels good.
- End of session. The issue is in the
reviewcolumn with a summary comment; you create the merge request. Write new decisions indocs/decisions.md.
A good request:
/next-task 42
(or by hand:) Read section 4 of docs/GAME_DESIGN.md, then do issue #42, task T02-006 (the paint rule).
Write the failing tests first in rules-tests/PaintTests.cs and show them to me.
After I confirm, implement until dotnet test passes. Do not touch unity/Assets/.Step 9: Task board in GitLab
Current practice (2026-11-14): the tasks live on the shared claude.ai board (link indocs/tasks.md), built fromdocs/backlog.json. The GitLab issue setup below stays as an option for later; its tasks were taken off the board.
The backlog becomes GitLab issues, and Claude Code works from them. The GitLab issue board is then the real Kanban board: it changes when Claude Code starts a task, when it finishes, and when a merge request is merged.
How it fits together:
| Where | What happens |
|---|---|
tools/backlog_to_gitlab.py | Copies backlog tasks into issues [T02-005] <task>, one milestone at a time, with labels (epic: …, who: claude-code / who: you, type: …) and the milestone. Description: user story, "Done when", the Claude Code prompt, design section. Safe to run again: existing tasks are skipped. Dry run unless --apply. |
| GitLab issue board | Lists: Open, doing, review, Closed. Label lists work on GitLab Free. |
/next-task | A project skill. Picks the open who: claude-code issue with the lowest task ID (or the number you give), labels it doing, makes a branch task/<ID>-…, does the work, runs the checks, commits with Refs #n, labels it review and comments a summary. |
| You | Read the diff, then glab mr create --fill --target-branch main --description "Closes #n" (this also pushes). Merging closes the issue. |
/board | A read-only skill: progress per milestone and epic, what is in doing and review, the next tasks. |
Set-up, once:
- [ ] Install the GitLab CLI and log in:
glab auth login(for a self-managed GitLab, give its host name; the script also takes--hostname). - [ ] Dry run:
python3 tools/backlog_to_gitlab.py Lantern_Island_Backlog.xlsx --project <group>/lantern-island - [ ] Create the first milestone's issues: add
--apply. The script pauses between requests (GitLab.com allows 200 new issues a minute and about 100 API calls a minute on Free) and waits when it is rate limited. - [ ] In GitLab, Issues → Boards: add the lists
doingandreview. - [ ] Copy
claude-code/.claude/skills/next-taskandclaude-code/.claude/skills/boardfrom the content pack into the repository's.claude/skills/, and the section fromclaude-code/CLAUDE-task-board.mdintoCLAUDE.md. - [ ] Write the current milestone in
docs/tasks.md.
Only one milestone is put into GitLab at a time: 200 to 330 issues are easy to look through; 1,100 are not. --export tasks.json writes all tasks as JSON for docs/.
The browser task board from section 16 stays as the overview for planning. GitLab is where the work happens; the two are not synchronised automatically.
Documentation: setup https://code.claude.com/docs/en/setup · memory and CLAUDE.md https://code.claude.com/docs/en/memory · permissions https://code.claude.com/docs/en/permissions · skills https://code.claude.com/docs/en/skills · subagents https://code.claude.com/docs/en/sub-agents · hooks https://code.claude.com/docs/en/hooks-guide · best practices https://code.claude.com/docs/en/best-practices. The tool changes quickly; check the relevant page before each step.
16. Small-task list for Claude Code
The complete backlog has 1,153 small tasks in 20 epics, from installing Claude Code to level 500 and the first release. It is delivered twice:
Lantern_Island_Backlog.xlsx: sheets Read me, Backlog, Kanban, Milestones, Pictures to create. Each task has an ID, milestone, epic, feature, user story, task, type, who, a ready-to-copy Claude Code prompt, a "done when" check, the design section and a status.- The browser task board (a Kanban board with the same tasks, where statuses can be changed).
- GitLab issues, one milestone at a time, for the daily work with Claude Code (section 15, step 9).
The 30 tasks below are the short path to the first playtest. They match epics 01 to 07 of the backlog. Do them in order.
A. Unity and rules foundation (logic only, no graphics)
- [ ] T01 Project setup. The Unity 6 project, the rules package and the
rules-testsproject. Done whendotnet testis green with one sample test and Unity compiles the rules package. - [ ] T02 Board model. 7×8 grid, three colours, seeded fill with no ready match. Done when one seed always gives the same board as the Python reference.
- [ ] T03 Swap and match detection. Matches of 3 or more in rows and columns. A swap without a match is rejected and costs no move.
- [ ] T04 Gravity and refill, with cascades. Done when no match remains on the board after any move.
- [ ] T05 No moves. Detect a board with no valid swap and reshuffle it.
B. Lantern Island rules
- [ ] T06 Painting. The player's match paints its cells; cascade matches do not (4.4).
- [ ] T07 Colour mixing. The table and the "replace the oldest colour" rule (4.5).
- [ ] T08 Hidden objects. Defined by cells and colour; found when all cells are right; stay found (4.6).
- [ ] T09 Special lanterns. Match of 4, match of 5, prism (4.7).
- [ ] T10 Level format. Load the JSON files from StreamingAssets, validate, moves, win and lose (17.1). Done when a broken file is rejected with a clear message.
- [ ] T11 Preview. A function that says which cells a swap would paint, and in what colour.
- [ ] T12 Undo. Once per level, the state returns exactly to before the move.
C. Golden games and levels
- [ ] T13 Golden games.
tools/export_golden.pyrecords robot games from the Python reference; a C# test replays them. Done when every golden game ends in the same state. - [ ] T14 Levels 1 to 10. Load and play them in the rules engine; all pass the level checks.
- [ ] T15 Levels 11 to 20. Painting and hidden objects.
- [ ] T16 Difficulty check.
tools/check_levels.py 1 20: every win rate is inside the target of 5.2.
D. Playable Unity prototype
- [ ] T17 Board scene. Lanterns as sprites; swap by touch and drag.
- [ ] T18 Basic animations. Swap, pop, fall.
- [ ] T19 Painted cells. Cell colour, corner symbols for colour-blind players, silhouettes of hidden objects.
- [ ] T20 Top bar. Moves left, goal panel, undo button, eye button.
- [ ] T21 Move preview. Dashed outline on the cells that will be painted, before release.
- [ ] T22 Win and lose. End screen with "try again" and "next level".
- [ ] T23 Level map. Level selection; progress saved on the device (and in the browser for the web build).
- [ ] T24 Parenting tip card. After each level, from a data file.
- [ ] T25 Test on a phone. The web build in Chrome on Android and Safari on an iPhone; Claude fixes touch, size and loading problems.
E. Preparing the test with parents
- [ ] T26 Publish behind one link. The Unity web build on Cloudflare Pages. No install, no sign-up.
- [ ] T27 Anonymous statistics. Which level, how many attempts, and whether the player came back the next day. No personal data, with a consent text, stored in the game's own backend (no third-party analytics).
- [ ] T28 Short feedback form. Three questions after level 10 and level 20.
F. A taste of the kids' world (optional for the first test)
- [ ] T29 Template "count and place". One template and three activities from data files, with the three help steps and no failure (7.6).
- [ ] T30 First bridge between the worlds. Finishing a kid activity puts one firefly into the parents' area of the same app (same device, no backend yet).
The backend (Unity Gaming Services), the family account across devices, the store builds and the app split are left out of this short path on purpose. They follow in the backlog after real parents have played the prototype.
17. Appendix: data formats
Proposals. Finalise them in tasks T10 and T29.
17.1 Level file
levels/221.json, exactly as generated. The format below is the one the 500 level files use.
{
"id": 221, "harbour": 23, "harbourName": "The Sea Garden", "position": 1, "role": "introduce",
"title": "The Crown Mosaic",
"brief": "Paint the crown picture, every cell in its colour.",
"board": {"cols": 7, "rows": 8}, "shape": "wave", "seed": 1850100,
"pieces": ["red", "yellow", "blue", "pearl"],
"goals": [{"type": "mosaic", "variant": "crown"}],
"goalNames": ["Mosaic"],
"objects": [{"id": "mosaic-crown", "kind": "mosaic", "name": "crown", "motif": ["A.A.A", "AXAXA"], "prePainted": 4, "parts": [{"colour": "blue", "cells": [[1, 3], [3, 3], [5, 3], [1, 4], [3, 4], [5, 4]]}, {"colour": "green", "cells": [[2, 4], [4, 4]]}]}],
"rocks": [[0, 0], [1, 7], [2, 0], [3, 7], [4, 0], [5, 7], [6, 0]], "dark": [], "sponge": [],
"oldPaint": [{"cell": [1, 4], "paint": ["blue"]}, {"cell": [5, 3], "paint": ["blue"]}, {"cell": [5, 4], "paint": ["blue", "yellow"]}, {"cell": [3, 4], "paint": ["blue"]}, {"cell": [2, 4], "paint": ["red"]}, {"cell": [3, 3], "paint": ["red"]}, {"cell": [4, 4], "paint": ["red"]}],
"grime": [], "barnacles": [], "ink": [], "inkEvery": 0, "boats": [],
"fogEvery": 0, "mirror": false, "ordered": false,
"moves": 18, "targetWinRate": 0.9,
"tuning": {"robotRuns": 32, "robotWinRate": 0.91, "robotMedianMoves": 13, "designedLength": 12.6, "variant": 1},
"elements": ["mosaic", "oldPaint", "mixing"],
"review": []
}
Goal entries:
| Goal | Fields |
|---|---|
collect | piece: red, yellow, blue or pearl; count |
find, beacons, mosaic | targets are in objects; kind is hidden, beacon or mosaic |
quota | colour, count |
path | colour, axis: h (left to right) or v (top to bottom), prePainted |
barnacles | cells and layers are in barnacles: [{"cell": [x, y], "layers": 1 or 2}] |
boats | count; start cells are in boats: [[x, y]] |
clean | grime cells and their paint are in grime: [{"cell": [x, y], "paint": ["red"]}] |
ink | ink cells are in ink: [[x, y]]; inkEvery is the spread interval |
Every goal except collect may carry a variant, the set-up it was built from. Pre-painted mosaic tiles and beam stones are written to oldPaint with the correct colour.
Validation rules: id is unique; moves is positive; every listed cell is inside the board and not a rock; no two objects share a cell; colours are red, yellow, blue, orange, green or purple; a level has one or two goals.
17.2 Cell paint state
{ "paint": ["red", "blue"] }
An ordered list of zero, one or two different primary colours, oldest first. The visible colour is derived from it (section 4.5) and never stored.
17.3 Activity file
activities/beach-count-007.json
{
"id": "beach-count-007",
"template": "count-and-place",
"region": "beach",
"skill": "counting-to-20",
"guide": "tati",
"scene": "beach-buckets",
"item": "shell",
"steps": [
{ "step": 1, "target": 3, "extraItems": 0 },
{ "step": 2, "target": 5, "extraItems": 2 },
{ "step": 3, "target": 8, "extraItems": 3 },
{ "step": 4, "target": 12, "extraItems": 4 },
{ "step": 5, "target": 20, "extraItems": 5 }
],
"audio": {
"prompt": "beach.count.put_n_shells",
"hint1": "common.look_again",
"hint3": "beach.count.count_together",
"praise": "common.praise_effort"
}
}
Audio values are keys. Each key has one English text and one sound file.
Review gate (owner, 2026-12-02, from Omel's World). An activity file has "reviewed": false until a person (later the child-education specialist) has checked its words, pictures and steps; then true. A release build loads only reviewed activities and logs why it left one out; the prototype and test builds load all of them. Parenting tips (17.4) work the same.
17.4 Parenting tip
{
"id": "tip-counting-01",
"skill": "counting-to-20",
"text": {
"de": "…",
"fa": "…",
"en": "Lena practised counting today. At the shop, ask her to count the apples."
}
}
18. Appendix: decision log
The decision log now lives in docs/decisions.md; new decisions are added there only. The lines below are the log up to version 1.6.
| Date | Decision |
|---|---|
| 2026-11-04 | Two worlds: parents earn by playing, children learn. Concept "Lighthouse and Island" merged with "Two Gardens". |
| 2026-11-04 | Target age 4 to 8 in two levels. Ages 2 to 3 are a later expansion. |
| 2026-11-04 | Parents' game is RangNoor: match-3 + colour mixing + merge + hidden objects. Coin Master style slot mechanics are rejected. |
| 2026-11-04 | Only the player's match paints. Preview, one undo, eye button, shapes for colours. |
| 2026-11-04 | No lives, no energy, no pay-to-continue. |
| 2026-11-04 | No ads at launch. Later only on the parents' side. Two-app architecture from day one. |
| 2026-11-04 | Programming with Claude Code. Server in Spring Boot, clients in Unity, prototype in the browser. |
| 2026-11-04 | Kids side built from 10 activity templates. No fail state. Companion Sousou. |
| 2026-11-08 | Parenting tips are written for the game, not taken from a book. |
| 2026-11-13 | Region costs 100 / 200 / 300 / 300 / 300, so the forest opens by day 3. |
| 2026-11-13 | Moonlight: 10 light per night per child, so no child is blocked by a busy parent. |
| 2026-11-13 | The subscription sells extras, never regions. |
| 2026-11-13 | A third colour replaces the oldest colour in a cell. No dead cells. |
| 2026-11-13 | Lanterns splash paint, not coloured light, so the mixing rules are correct science. |
| 2026-11-13 | Fireflies: 1 per activity, 5 per day, keepers store 5. |
| 2026-11-13 | After all regions: monthly garden seasons at 300 light. |
| 2026-11-13 | Plants get thirsty, never wilt, in the child's view. Wilting shows only to parents. |
| 2026-11-13 | The child's drawing is a background revealed by painting, not a source of hidden objects. |
| 2026-11-13 | Positioning is the parent-child bond and the parents' own game, not "free". |
| 2026-11-13 | Four piece types: red, yellow, blue lanterns and the pearl. Three types cascade too much. |
| 2026-11-13 | Second coat makes a cell pure; a pearl match rinses it. Any mistake is fixed in two matches. |
| 2026-11-13 | 500 levels in 50 harbours with one pacing pattern; tuned with a robot player. |
| 2026-11-13 | Kids' side: 108 activities x 5 steps = 540 levels, 18 per region. |
| 2026-11-13 | Ten level goals instead of "find" in almost every level; modifiers sit on top of goals. |
| 2026-11-13 | All ten goals arrive by level 141; one new goal or modifier per harbour. |
| 2026-11-13 | No goal twice in a row (except the matching tutorial); boss levels from harbour 6 have two goals. |
| 2026-11-13 | Every level is unique: goals, variants, modifiers, one of 12 board shapes and board size. |
| 2026-11-13 | Every level has a title and a one-line story; all 500 titles are different. |
| 2026-11-13 | Squid ink is washed only from the cells of the player's own match. |
| 2026-11-14 | The game is in English: all spoken lines, screen text and tips. No second language in version 1; text is stored as keys so translation stays possible. The two age levels are named Bud (4-5) and Blossom (6-8). |
| 2026-11-14 | Name: Lantern Bay for the whole game and the parents' puzzle (formerly RangNoor); the child's world keeps the name Garden Island; the kids' app is Lantern Bay Kids. Trademark and store checks are still to do (backlog). |
| 2026-11-14 | Final name: Lantern Island (parents) and Lantern Island Kids (child), replacing Lantern Bay: a game studio already trades as "Lantern Bay Entertainment", and no game, app, company or trademark named "Lantern Island" was found in a web search. The child's world is now called the island garden. A formal trademark search (TMview, WIPO, USPTO; classes 9, 28, 41) is still to do. |
| 2026-11-14 | The child's companion is named Omel (formerly Sousou): a small glowing creature born from the lighthouse light. The name is used inside the game only. |
| 2026-11-14 | Daily work runs from GitLab issues (the developer uses GitLab): the backlog is copied one milestone at a time with tools/backlog_to_gitlab.py; Claude Code takes tasks with /next-task and never pushes, merges or closes; the merge request closes the issue. The browser board stays as the planning overview. |
| 2026-11-14 | Built in Unity 6 from day one; the TypeScript prototype is dropped, so nothing is built twice. Testers get the Unity web build as a link. The rules are a pure C# package tested with dotnet test; the Python tools stay as the reference through golden games. |
| 2026-11-14 | One app first, two apps before the first ad: Lantern Island (parents, ads allowed after the split) and Lantern Island Kids (never ads). Until the split: no ads, no third-party analytics, no external links. |
| 2026-11-14 | Three platforms for every app: Google Play, the Apple App Store and the web. |
| 2026-11-14 | Near-zero cost: only the store accounts are paid ($99 a year Apple, $25 once Google). Backend on Unity Gaming Services' free allowance instead of a Spring Boot server; iOS through an own Mac or Codemagic's free tier; web on Cloudflare Pages or itch.io. |
| 2026-11-14 | Version 1.6 adds: art loaded per harbour on the web, a separate kids' web build after the split, a phone fallback page, free animation tools only (no Spine), and free routes for art, voice and expert reviews (12.5, 12.6). |
| 2026-11-14 | Task board: the shared claude.ai board (link in docs/tasks.md) replaces GitLab issues for now; the GitLab CLI is not needed. M1 is worked in six stages: A setup without Unity, B Unity foundation (with an early web test on real phones), C rules engine, D parents' game, E kids' beach, F playtest. The order follows the plan, not the task numbers. |
| 2026-11-14 | The roadmap is 4 phases with 70 small milestones (M01 to M70, docs/roadmap.json); they replace the stages. Every change is a task with its commits, and CLAUDE.md, README.md and docs/CHANGELOG.md are updated before every commit. |
| 2026-11-14 | Stars build a harbour town (one place per harbour, 5 steps, 10 stars). The child's garden sends produce as a gift (3 a day, never requested, never convertible); it buys optional special touches and town feasts. Every win pays light and a star together. |
| 2026-11-17 | Playing on your own (owner's idea, section 5.6): a first-start question asks whether the player wants to share the game with a child. A player on their own plays the same parents' game and builds their own community in place of the kids' island; they can switch to a child at any time and use what they earned to help the child. Planned as phase 5 (M71 to M73), after the parents' game and the kids' part are finished; no cost decided yet. |
| 2026-11-17 | Every level paints a picture (owner's direction). The owner found the first levels "a very normal match-3": collecting and barnacles first, painting only from level 11, mixing almost never. From now on every level hides a picture under the board; colour mixing is the skill; the other goals become twists on picture levels. Levels 1 to 20 are rebuilt as picture levels first and tested with players; levels 21 to 500 follow after the test. Sections 1.2, 4.1, 4.6 and 5.3. The owner adds more ideas during testing. |
| 2026-11-17 | Art style (owner, T13-001): flat, geometric vector art drawn as SVG by Claude Code for now, exported to sprites; Unity's 2D lights, bloom, particles and animation give the depth (section 13). No new cost. An illustrator can replace single pictures later. |
| 2026-11-20 | Levels 1 to 10 are training levels (owner, section 5.3). Each opens with a lesson for its new moves (the table in 5.3), and the move hint stays on through level 10 (4.9). Why: the owner found one guided level not enough. |
| 2026-11-20 | Guided start (owner, section 5.3). Level 1 becomes a guided lesson (goal, the one allowed first move with a hand, what the match painted, the moves), and each new thing on levels 2, 4, 6, 11, 12 and 16 opens with one guided move; sparkles, praise words and a pulsing picture counter make the start lively. Why: the owner found the game concept unclear for beginners. Tasks T07-037 to T07-039. |
| 2026-11-20 | Move hint on levels 1 to 5 (owner, T07-036, section 4.9). The best move shows at once when the board is still (half a second, so it does not flash during a drag; first planned after 4 seconds, changed by the owner the same day): its cells glow, its lanterns wiggle and its paint preview shows. Why: beginners should always know a good next step, as in most games of the genre. Later levels have no automatic hint for now. |
| 2026-11-20 | A finished picture cell stays finished (owner, T02-041, section 4.6). With picture levels, a later match spoiled cells that were already right, and the last cells became a lottery (on level 9, 14 of 16 robot games never finished). Now a cell of the object being painted that shows its colour keeps it. Measured on levels 1 to 20: every robot game finishes, budgets 9 to 24 moves (bosses 29 and 33). Levels 21 to 500 get easier with it and are re-tuned in their batches. |
| 2026-11-21 | The goal stays in view (owner, section 4.8). Above the top bar, the level's number and title and the goal in words stay for the whole level. Why: the owner could not tell during play which level it was or what the goal was. Task T07-041. |
| 2026-11-21 | Richer lanterns; the big lantern is a 3D hurricane lantern (owner, section 4.2). The normal lanterns are redrawn with depth (cap, rivets, handle, candle, frosted glass, cage, base) and keep their glass shapes; the big lantern becomes an old hurricane lantern with a copper frame, a coloured globe and its shape as an emblem, modelled and rendered with Blender (free, GPL, only on the developer computer, never in the game) from a script in the repository; only the rendered PNGs go into the game. No cost. Why: the owner found the lanterns too basic and picked both looks. Task T13-051. |
| 2026-11-21 | Special pieces explained (owner, section 5.3). The first time a special piece is on the board, a card says once how it is made and what it does; a "?" button opens a card of all four. Which explanations were shown is kept on the device (PlayerPrefs until the save of M14). No cost. Why: a big lantern turned up on level 2 with no word about it. Tasks T07-042 to T07-044 also make wrong colours and the big lantern easier to see. |
| 2026-11-22 | A fair start, and our own look for help (owner, sections 4.2, 4.9, 5.2, 5.3). The owner could not win level 1; simulations agreed: a hint-follower won 1 in 3, a casual player 1 in 10, because the budgets came from an expert robot. Levels 1 to 10 lose the pearl; levels 1 to 20 are tuned for a casual player (80 and 65 percent); the hint looks one move ahead, comes on every level after 3 or 10 seconds without a limit, and is shown as a firefly from the child's island; a wrong colour is explained once. Rejected: smaller boards for beginners and bigger boards for hard levels (measured: a smaller board is not easier, a bigger one is easier, and cells get too small on a phone); forgiving paint on the training levels (it would hide the game's own idea, the colour); a limit of 3 hints or a share of the moves (players save them and sit stuck). The special lanterns are close to other match-3 games; making them work with colour and light is a design task for later (T07-052). No cost. |
| 2026-11-23 | Levels 1 to 5 guided to the last move (owner, section 5.3). After the lesson the firefly shows the best move half a second after the board is still and the keeper says what it paints, on every move; other moves stay allowed. No cost. Task T07-059. |
| 2026-11-23 | Colour book beside "?" (owner, section 4.9). A palette button opens the colour book: the player taps the colour needed and sees, for each colour a cell can have now, the lanterns to match (all 42 ways, seven at a time; a first table of all at once was too hard to read); it replaces the mixing chart beside the board. No cost. Task T07-060. |
| 2026-11-23 | The level's colours under the board (owner, section 4.9). A strip under the board: each colour the picture needs with its two lanterns; done colours fade. No cost. Task T07-063. |
| 2026-11-27 | The seeds move into the top bar (owner, section 4.8). The bigger buttons of T07-029 left the picture map no room on 6-wide boards (two dots on level 1); the three seeds now sit in the top bar right of the paint bar, and the map takes their place. No cost. Task T07-073. |
| 2026-11-29 | Count and place: a tap on the container takes the last thing out; a tick says "done" (T11-002, section 7.4). Replaces "tap the container to say done": the things inside a container cannot all stay 64 px at the biggest steps (25 shells, 30 plums in 5 baskets), so the whole container is the take-out target and a separate tick finishes. Owner's choice. No cost. |
| 2026-11-29 | Six garden plants per region, each grown by a group of skills (T12-003, section 7.2). The Beach's six drawn in three stages; the garden, saved per skill since T11-005, moves to the six plants in T11-061. Owner's choice. No cost. |
| 2026-11-29 | The child's fireflies reach the keeper on the same device until the family link (T15-005, sections 4.10, 6.6). One per finished activity, at most 5 a day, labelled with the activity's title and no name. Owner's choice. No cost. |
| 2026-11-29 | The garden is kept on the device as skills and stages (T11-005, section 7.2). One line, one plant per skill, nothing about the child; a round finished together with Omel grows the plant too. No cost. |
| 2026-11-29 | /new-level makes levels 21 to 500 only (T01-041, section 15). It rebuilds levels from the generator through the level steps (re-tune with margin 0.05, lint, check, docs) and serves the batches of 10 after the rules are final; levels 1 to 20 stay picture levels, and no level after 500 exists until a harbour 51 is designed. Owner's choice. No cost. |
| 2026-11-29 | The Pier town place drawn (T06-013, section 5.5). Posts, deck, railings, benches and pier lamps as the five steps; seaside white and blue, cosy dark wood and green, festive red rails, yellow benches and bunting; no touch. Owner approved the sketch. No cost. |
| 2026-11-29 | Beach Huts drawn; a town place is up to eight pictures (T06-006, section 5.5). Five build steps in the seaside style, the cosy and festive finished looks, the touch as an overlay; building shows the seaside look. Owner approved the sketch. No cost. |
| 2026-11-29 | Count and place: a tap on the container says "done" (T11-001, section 7.4). Exactly the target succeeds, any other count is a mistake with the help of 7.6; the Blossom parameters groupSize (bags), coinKinds (coins of 1, 2, 5, 10 paying a sum) and groups/perGroup (several containers) as in 7.4. Owner's choice. No cost. |
| 2026-11-30 | The colour book's answer plays (4.9, owner). The cell tile takes each lantern's splash in turn and changes colour after each, until it shows the needed colour, in a loop while the book is open. No cost. Task T07-079. |
| 2026-11-30 | Show, don't tell in the guided levels (5.3, owner). Each lesson step becomes a short animation (ghost hand, glowing parts, a one-cell mixing demo with a picture formula) with a label of at most five words; no "Tap to go on", steps go on by themselves. A tester read the level 7 sentence as a swap of a yellow with a blue lantern. No cost. |
| 2026-11-29 | The Pier behind levels 11 to 20 (T06-012, section 5.1). Harbour 2's own night scene: a wooden pier with lanterns and two moored boats; waves and the passing boat stay, no lighthouse beam. Owner approved the sketch. No cost. |
| 2026-11-29 | Quiet Beach behind levels 1 to 10 (T06-005, section 5.1). The first harbour's own night scene; the other harbours keep the harbour at night until theirs are drawn. Owner approved the sketch. No cost. |
| 2026-11-29 | Colour symbols on the goal chips and recipe tiles (T07-025, section 4.2). A greyscale screenshot of level 10 showed the chips and recipe swatches told colours by colour alone; they now carry the cells' corner symbols (a mix both). No cost. |
| 2026-11-28 | The re-tune takes the closer whole move (T03-012, section 5.2). With the ladder many robot runs end on the same move; the budget becomes one move fewer when that win rate is closer to the target. No cost. |
| 2026-11-27 | The firefly tray (T07-018, sections 4.10, 6.6). A row under the board while a firefly waits; tap it, then a picture cell: the firefly paints the colour the cell needs, at most 2 per level, no move. It takes away the undo of the move before it. The welcome firefly of level 7 has a label without a name until the family link. No cost. |
| 2026-11-27 | The mixing lantern and the look of the ladder (owner, section 4.7). Two small pieces swapped together make a mixing lantern with both colours; swapped with a neighbour it paints its 3×3 with those colours where they help (a cell needing orange gets red and yellow at once). Simulated: 87.3 % wins against 88.6 %, one game in 12 makes one. The small piece is a candle, the mixing lantern a stained-glass lantern, the white lantern a silver crescent-moon lantern, the big lantern gold all over and the only big lantern. No cost. Why: the owner wanted a piece from two small pieces and pieces that are new and beautiful in the lantern style. |
| 2026-11-27 | A ladder of special pieces (owner, section 4.7). L, T or 2×2 square: small piece (paints itself and its 4 neighbours where that helps; falling lanterns make it too); 4 in a line from the own swap: prism (as before); 5 in a line or two prisms: white lantern; two white lanterns: the big lantern, rare, which finishes one whole figure. Specials other than the small piece come only from the player's own swap. Simulated on 236 robot games: 88.6 % wins against 96.2 %, a big lantern in one level in 3 to 7. No cost. Why: the owner found the big lantern too easy to get and wants the game's symbol rare and special, and the specials less like other match-3 games. Tasks T03-010 to T03-014. |
| 2026-11-26 | Day palette for the kids, night palette for the parents (section 7.9). One token file, docs/art/palette.json: the night palette as today; the day palette a sunny morning (sky #BFE7FA, sea #4BB4E6, sand #F7E3B0, white cards, navy text #24324F); paint colours shared; every text pair at least 4.5:1, tested. No cost. Task T13-005. |
| 2026-11-26 | The preview marks scraped cells (section 4.9). The match's cells under a barnacle are outlined in a pale shell colour beside the painted cells' colours; the owner saw a line of five on level 20 outlined as three. No cost. Task T07-072. |
| 2026-11-26 | One English text file for the parents' screens (section 7.7). Resources/Texts/en.txt, key = text with {0} placeholders; read once; a missing key fails a test; level words stay in the level files. No cost. Task T07-027. |
| 2026-11-26 | Text size: normal and large (section 4.8). A switch on the "?" card; large is 1.25 times the line height, cards grow and wrap sooner; kept on the device. No cost. Task T07-026. |
| 2026-11-26 | Sound and music switches (section 4.8). Two switches beside shake and vibration on the "?" card, each kept on the device, on at the start. No cost. Task T07-028. |
| 2026-11-26 | Tap sizes (section 4.8). Buttons answer to taps at least 44 CSS px wide on a 360 by 640 phone: the four buttons above the board 1.1 units apart, tap radius 0.55; cells stay as large as the board fits (about 41 px on 8-wide boards there). No cost. Task T07-029. |
| 2026-11-26 | Safe areas (section 4.8). Everything but the background stays inside Screen.safeArea, centred in it, on portrait screens from 16:9 to 21:9. No cost. Task T07-031. |
| 2026-11-25 | Back (section 4.8). Android's and the browser's back close a card, ask before leaving a level with moves played (leave = a fresh start card, no loss), and otherwise do nothing. No cost. Task T07-032. |
| 2026-11-25 | The keeper's album (sections 4.6, 4.8). Every finished picture kept on the device, shown twelve to a page from an "Album" button on the level map. No cost. Task T07-035. |
| 2026-11-25 | Harbour map (section 4.8). All 50 harbours, ten to a page, from an "All harbours" button on the level map; locked harbours show their name only; names from town.json. No cost. Task T07-022. |
| 2026-11-25 | Parenting tip card in the prototype (section 4.11). After every 3rd won level, before the next level; general tips in turn from a data file until the child's practice is known; no child names; drafts marked unreviewed. No cost. Task T07-019. |
| 2026-11-25 | The lighthouse bar (section 4.8). Light toward the child's next region (6.3) as a bar on the win card and the level map; regions count in order until the child gate exists. No cost. Task T07-024. |
| 2026-11-25 | The keeper's gift on a card of its own (owner, section 5.4). After the start card: title, gift box, one row per gift with its picture, "Thank you!"; the moves fly to the counter and the gift lanterns pulse with an arrow. No cost. Task T07-071. |
| 2026-11-25 | Colour book: the six colours at a glance (owner, section 4.9). Under the calculator, each colour on a clean cell as tile = lanterns. No cost. Task T07-070. |
| 2026-11-25 | Daily cap in the game (section 6.5). 100 light a day from levels, counted on the device's calendar day; light only (stars and seeds still paid); a win that crosses it pays the rest; a kind message on the win card. No cost. Tasks T08-002, T07-020. |
| 2026-11-24 | The keeper's gifts after losses (owner, sections 5.4 and 6.9). From the 3rd loss: +2, +3, +3 and a big lantern near the picture, growing to +5 moves and a lantern on the picture after 10 losses; the player is told; a win with help gives at most 1 seed, gift moves pay no light. Replaces the free white lantern. No cost. Task T07-017. |
| 2026-11-24 | Colour book as a calculator; Next button (owner, sections 4.9 and 4.8). The book asks "my cell is now" and "it needs" and shows one answer; the end card gets "Next level" / "Try again" beside "Levels". No cost. Tasks T07-067, T07-068. |
| 2026-11-23 | Level map inside a harbour (owner, section 4.8). A "Levels" tab on the start and end cards opens the harbour's ten levels; won and reached levels can be played (again). No cost. Task T07-021. |
| 2026-11-22 | The goal as a picture (owner, section 4.8). The start card shows the goal picture in its colours with one row per colour (count and lantern recipe) and the moves as a big number; the goal line above the board becomes colour chips with cells left; a tap on them opens the goal card again. The finished-cell lock stays on every level (owner asked; kept for fairness, see 2026-11-20). No cost. Task T07-057. |
| 2026-11-22 | Mixing chart beside the board (owner, section 4.9). On levels with a mixed colour in the picture, a small chart of the three mixes stays next to the board (left on wide screens, below on narrow ones). No cost. Task T07-055. |
| 2026-11-15 | Claude Code pushes finished commits to main itself; force pushes stay denied (15, step 5). |
| 2026-11-15 | Web host (T20-002): Cloudflare Pages, not itch.io. A _headers file sends Content-Encoding: gzip and application/wasm for Unity's gzip files, so the build needs no Decompression Fallback (faster start, WebAssembly streaming stays on); itch.io gives no control over headers, and with pre-compressed files a Unity build there needs the fallback or no compression. Pages is free (unlimited bandwidth, 25 MiB per file; the wasm is 12 MB) and can be uploaded from a script (T20-003). The test link is unlisted, not secret; it can be put behind Cloudflare Access (free) if needed. Risk: if Cloudflare re-encodes the files, T20-003 falls back to Decompression Fallback; itch.io stays the second choice. No new cost. |
| 2026-11-15 | Decompression Fallback on (T20-003): Cloudflare Pages ignores Content-Encoding from _headers (tested: a .gz file came back gzip-compressed a second time, and without the header when the browser accepts no compression); the uncompressed wasm (45 MB) is over Pages' 25 MiB file limit. So the build stays gzip and Unity unpacks it in the page (Decompression Fallback), whatever compression the host adds. Cost: no WebAssembly streaming, a slightly slower start and more memory while loading; T20-004 measures it on an older iPhone. If that is too slow, a host that keeps the header (for example Netlify) is the next step, as a new decision. |
19. Appendix: content pack and pictures
Everything below is in lantern-island-content-pack.zip. Its levels, activities and town are in unity/Assets/StreamingAssets/, its tools in tools/ (backlog task T01-025).
| Path | Content |
|---|---|
levels/001.json … levels/500.json | The 500 Lantern Island levels, tuned (format in 17.1) |
parent_levels.csv | One row per level: harbour, role, title, goals, variants, modifiers, board, shape, moves, win rates, story line, review flags |
previews/001.svg … previews/500.svg | A picture of every level: start board and goal |
activities/<region>/*.json | The 108 kids' activities, 5 steps each |
kids_levels.csv | One row per kids' level (540) with its parameters and spoken prompt |
town/town.json | The harbour town: 50 places, 5 steps each, styles, special touches, produce and town rules (section 5.5) |
town.csv | One row per town place with its steps and special touch |
images/ | The pictures used in this document |
tools/lanternisland_sim.py | Reference rules engine for all ten goals, and the robot player, in Python |
tools/generate_parent_levels.py | Plans the whole game, then builds and tunes the parent levels |
tools/finish_levels.py | Gives every level a unique title, checks the variety rules, writes the CSV |
tools/generate_kid_levels.py | Builds the kids' activity files |
tools/generate_town.py | Writes the harbour-town data |
tools/backlog_to_gitlab.py | Copies backlog tasks into GitLab issues with labels and milestones (section 15, step 9) |
claude-code/.claude/skills/next-task/SKILL.md | The /next-task skill: take the next GitLab issue, do it, hand it over for review |
claude-code/.claude/skills/board/SKILL.md | The /board skill: progress and next tasks from GitLab |
claude-code/CLAUDE-task-board.md | The Task board section to paste into CLAUDE.md |
tools/render_levels.py | Draws the level pictures |
tools/make_images.sh | Builds the example pictures in images/ |
tools/build_backlog.py | Builds the backlog workbook and the task board |
How to read a level picture: the title and story line are at the top and bottom. The left board is the start, with each piece's symbol. Dashed outlines mark targets: white for hidden objects, in colour for beacons and mosaic tiles. The right board is the goal: the colour each target cell must reach (corner symbols give the two colours of a mix), a dashed arrow with a lighthouse and an island for a beam, boats at the bottom of their columns with a drop line, a counter for harvest and dye goals, and sparkles where grime must be rinsed. Other marks: grey stones are rocks, a moon is a dark cell, three white dots are a sponge, pale bumps with a number are barnacle layers, dark purple blobs are squid ink, a faded tint is old paint or grime, a dashed vertical line is the mirror, and numbers on the goal give the order of objects.
The random generator is mulberry32, written so the C# engine reproduces the same boards from the same seed. The Python simulator is the reference: the first rules task (T02-001) compares the two, and the golden games (12.3) keep them equal.
































