Back to Freecodecamp

Dialogue 3: A Guessing Game

curriculum/challenges/english/blocks/learn-how-to-clarify-information-in-different-interactions/663b9a1f2d5bed4fa98759bb.md

latest4.2 KB
Original Source

--description--

Watch the video to understand the context of the upcoming lessons.

--assignment--

Watch the video.

--scene--

json
{
  "setup": {
    "background": "company2-breakroom.png",
    "characters": [
      {
        "character": "Tom",
        "position": { "x": -25, "y": 0, "z": 1 }
      },
      {
        "character": "Alice",
        "position": { "x": 125, "y": 0, "z": 1 }
      }
    ],
    "audio": {
      "filename": "4.3-3.mp3",
      "startTime": 1
    },
    "alwaysShowDialogue": true
  },
  "commands": [
    {
      "character": "Tom",
      "position": { "x": 25, "y": 0, "z": 1 },
      "startTime": 0
    },
    {
      "character": "Alice",
      "position": { "x": 70, "y": 0, "z": 1 },
      "startTime": 0.5
    },
    {
      "character": "Tom",
      "startTime": 1,
      "finishTime": 3.8,
      "dialogue": {
        "text": "Hey, Alice, want to play a guessing game?",
        "align": "left"
      }
    },
    {
      "character": "Tom",
      "startTime": 4.3,
      "finishTime": 6,
      "dialogue": {
        "text": "I'll name some objects with strange names,",
        "align": "left"
      }
    },
    {
      "character": "Tom",
      "startTime": 6,
      "finishTime": 7.7,
      "dialogue": {
        "text": "and you try to guess what they are.",
        "align": "left"
      }
    },
    {
      "character": "Alice",
      "startTime": 8.7,
      "finishTime": 10.2,
      "dialogue": {
        "text": "Sounds fun! I'm up for the challenge.",
        "align": "right"
      }
    },
    {
      "character": "Tom",
      "startTime": 11.1,
      "finishTime": 13.8,
      "dialogue": {
        "text": "Great! Here's the first one: 'Percolator'.",
        "align": "left"
      }
    },
    {
      "character": "Alice",
      "startTime": 14.6,
      "finishTime": 16.1,
      "dialogue": {
        "text": "Hmm, is it some kind of machine?",
        "align": "right"
      }
    },
    {
      "character": "Tom",
      "startTime": 16.7,
      "finishTime": 19.7,
      "dialogue": {
        "text": "You're on the right track! It's a kind of coffee machine.",
        "align": "left"
      }
    },
    {
      "character": "Alice",
      "startTime": 20.1,
      "finishTime": 23.5,
      "dialogue": {
        "text": "Ah, got it. Okay, your turn: 'Skeuomorph'.",
        "align": "right"
      }
    },
    {
      "character": "Tom",
      "startTime": 24.7,
      "finishTime": 28,
      "dialogue": {
        "text": "Hmm, that's a tough one. Is it a type of rare plant?",
        "align": "left"
      }
    },
    {
      "character": "Alice",
      "startTime": 28.5,
      "finishTime": 30.6,
      "dialogue": {
        "text": "Not really. It's a design element.",
        "align": "right"
      }
    },
    {
      "character": "Alice",
      "startTime": 31,
      "finishTime": 33.9,
      "dialogue": {
        "text": "It imitates real-world objects in digital interfaces.",
        "align": "right"
      }
    },
    {
      "character": "Tom",
      "startTime": 35.4,
      "finishTime": 37.7,
      "dialogue": {
        "text": "Interesting! Alright, how about 'Sphygmomanometer'?",
        "align": "left"
      }
    },
    {
      "character": "Alice",
      "startTime": 39.2,
      "finishTime": 41.7,
      "dialogue": {
        "text": "Whoa, that's a mouthful. Is it a medical device?",
        "align": "right"
      }
    },
    {
      "character": "Tom",
      "startTime": 42,
      "finishTime": 43.1,
      "dialogue": {
        "text": "You're absolutely right!",
        "align": "left"
      }
    },
    {
      "character": "Tom",
      "startTime": 43.4,
      "finishTime": 46.4,
      "dialogue": {
        "text": "It's the device that doctors use to measure your blood pressure.",
        "align": "left"
      }
    },
    {
      "character": "Alice",
      "startTime": 46.8,
      "finishTime": 47.9,
      "dialogue": {
        "text": "Hey, I'm good at this!",
        "align": "right"
      }
    },
    {
      "character": "Alice",
      "position": { "x": 125, "y": 0, "z": 1 },
      "startTime": 48.4
    },
    {
      "character": "Tom",
      "position": { "x": -25, "y": 0, "z": 1 },
      "startTime": 48.9
    }
  ]
}