{
  "title": "Square Town: Think, Split, Win!",
  "voice": "af_bella",
  "speed": 0.85,
  "minimum_action_delay": 0.25,
  "cues": [
    {
      "id": "hook",
      "caption_label": "MISSION",
      "caption_text": "Build exactly the target number of squares",
      "caption_color": "#ffca28",
      "narration": "Welcome to Square Town! Your mission is to transform one big square into exactly the target number of squares. Think first, then make every click count.",
      "action": "none",
      "action_duration": 1.0
    },
    {
      "id": "mental-model",
      "caption_label": "WHY",
      "caption_text": "A clean Split adds 3 squares",
      "caption_color": "#26c6da",
      "narration": "Watch Current and Target. A split turns one square into four smaller squares, so a clean split adds three to the count. Merge reverses that idea when four matching neighbours form one full square.",
      "action": "none",
      "action_duration": 1.0
    },
    {
      "id": "friend-target",
      "caption_label": "STEP 1 OF 8",
      "caption_text": "Friend mode: Player 1 sets Target = 7",
      "caption_color": "#81c784",
      "narration": "Start in Friend mode. Player 1 chooses a whole-number target. We will enter seven, press Set Target, and hand the challenge to Player 2.",
      "action": "friend_set_7",
      "action_duration": 3.0
    },
    {
      "id": "friend-first-split",
      "caption_label": "STEP 2 OF 8",
      "caption_text": "Select the large square, then Split: 1 → 4",
      "caption_color": "#4fc3f7",
      "narration": "Player 2 selects the large square. Predict the change: one split should move Current from one to four. Now press Split.",
      "action": "friend_split_root",
      "action_duration": 2.4
    },
    {
      "id": "friend-second-split",
      "caption_label": "STEP 3 OF 8",
      "caption_text": "Split one quarter: 4 → 7",
      "caption_color": "#4fc3f7",
      "narration": "We need three more. Select just one quarter and split it. Four plus three becomes seven. The Current value now matches the Target.",
      "action": "friend_split_quarter",
      "action_duration": 2.4
    },
    {
      "id": "friend-submit",
      "caption_label": "FINAL CHECK",
      "caption_text": "Submit only when Current = Target",
      "caption_color": "#ffee58",
      "narration": "Press Submit only after checking that Current equals Target. Great! Player 2 completed the friend challenge in two thoughtful moves.",
      "action": "friend_submit",
      "action_duration": 2.5
    },
    {
      "id": "friend-reflection",
      "caption_label": "REFLECT",
      "caption_text": "Use the log to find your winning pattern",
      "caption_color": "#b39ddb",
      "narration": "Close the success message and look at Move History and Reflection. It records the player, action, count change, and result, helping you learn from the pattern instead of guessing.",
      "action": "friend_review_history",
      "action_duration": 4.0
    },
    {
      "id": "computer-mode",
      "caption_label": "STEP 4 OF 8",
      "caption_text": "Switch Opponent to Computer",
      "caption_color": "#80cbc4",
      "narration": "Now switch Opponent to Computer. The computer creates a reachable target and a move benchmark. Easy mode is perfect for practising the plus-three pattern.",
      "action": "switch_computer",
      "action_duration": 2.8
    },
    {
      "id": "computer-plan",
      "caption_label": "STEP 5 OF 8",
      "caption_text": "Plan first: 1 → 4 → 7 → 10",
      "caption_color": "#ffb74d",
      "narration": "Our computer challenge is ten squares in three moves. Plan before clicking: one to four, four to seven, then seven to ten. That is three clean splits.",
      "action": "none",
      "action_duration": 1.0
    },
    {
      "id": "computer-first-split",
      "caption_label": "STEP 6 OF 8",
      "caption_text": "Move 1: Split the large square",
      "caption_color": "#4fc3f7",
      "narration": "Move one: select the large square and split it. Current becomes four.",
      "action": "computer_split_root",
      "action_duration": 2.4
    },
    {
      "id": "computer-finish-plan",
      "caption_label": "STEP 7 OF 8",
      "caption_text": "Moves 2 and 3: split two different quarters",
      "caption_color": "#4fc3f7",
      "narration": "Move two: split one quarter for seven. Move three: split a different quarter for ten. Three moves exactly, so we matched the computer benchmark!",
      "action": "computer_split_two_quarters",
      "action_duration": 4.8
    },
    {
      "id": "computer-submit-reflect",
      "caption_label": "STEP 8 OF 8",
      "caption_text": "Submit, read the trend, then try a new challenge",
      "caption_color": "#f48fb1",
      "narration": "Submit, celebrate, and check the running log. The successful trend is plus three per split. Next time, predict your route before touching the board, then see whether you can match or beat the benchmark. Ready? Build your Square Town!",
      "action": "computer_submit_and_review",
      "action_duration": 6.0
    }
  ]
}
