{
  "format": "tokbit",
  "version": 1,
  "name": "Srdce",
  "main": [
    {
      "id": "u1",
      "kind": "call",
      "call": "background(BLACK)"
    },
    {
      "id": "u2",
      "kind": "call",
      "call": "border(BLUE)"
    },
    {
      "id": "u3",
      "kind": "call",
      "call": "cls()"
    },
    {
      "id": "u4",
      "kind": "call",
      "call": "color(WHITE)"
    },
    {
      "id": "u5",
      "kind": "output",
      "values": "\"Otevři blok tvar a nakresli si vlastní sprite.\""
    },
    {
      "id": "u6",
      "kind": "declare",
      "name": "tvar",
      "type": "list[str]",
      "init": "[\"................\", \"..####....####..\", \".######..######.\", \"################\", \"################\", \"################\", \"################\", \".##############.\", \"..############..\", \"...##########...\", \"....########....\", \".....######.....\", \"......####......\", \".......##.......\", \"................\", \"................\"]",
      "comment": "Ťukni na blok a kresli v mřížce: # je bod, . průhledné."
    },
    {
      "id": "u7",
      "kind": "call",
      "call": "sprite_shape(0, tvar)"
    },
    {
      "id": "u8",
      "kind": "call",
      "call": "sprite_color(0, LIGHT_RED)"
    },
    {
      "id": "u9",
      "kind": "for",
      "variable": "kolo",
      "range": "3",
      "body": [
        {
          "id": "u10",
          "kind": "for",
          "variable": "x",
          "range": "-16, 320, 4",
          "body": [
            {
              "id": "u11",
              "kind": "call",
              "call": "sprite_at(0, x, 92)"
            },
            {
              "id": "u12",
              "kind": "call",
              "call": "sleep(20)"
            }
          ]
        }
      ]
    },
    {
      "id": "u13",
      "kind": "call",
      "call": "sprite_hide(0)"
    }
  ],
  "functions": [],
  "comment": "Řešení úlohy „Vlastní tvar“: Nakresli v bloku tvar vlastní sprite – třeba srdce – a změň mu barvu."
}
