{
  "information": {
    "Title": "\u53cd\u4e49\u8bcd",
    "Author": [],
    "AuthorLogo": [],
    "Password": "",
    "Keywords": "",
    "Abstract": "",
    "Copyright": "MOE, CPDD",
    "Level": "P2",
    "Language": "Chinese Language",
    "Logo": [
      "./Dog1.png"
    ],
    "RunAlways": "true",
    "ModelTab": "",
    "ModelTabTitle": "",
    "ModelName": "",
    "FixedNavigationBar": "false",
    "CSSFile": "",
    "DetectedFiles": [
      "./Dog1.png"
    ],
    "AuxiliaryFiles": [
      "./Unnamed3/",
      "./background2.png",
      "./GuTou1.png",
      "./GuTou1.png"
    ],
    "HTMLHead": "<script \nasync=\"true\" src=\"https://www.googletagmanager.com/gtag/js?id=G-S9EWRY1CPJ\"></script>\n<script>\n  window.dataLayer = window.dataLayer || [];\n  function gtag(){dataLayer.push(arguments);}\n  gtag('js', new Date());\n\n  gtag('config', 'G-S9EWRY1CPJ');\n</script>",
    "SaveInXMLFormat": "false",
    "IncludeSource": "true",
    "UseIndexHtml": "false",
    "IncludeLibrary": "true",
    "UglifyJS": "false",
    "PreviewFullModel": "false",
    "UseInterpreter": "true",
    "UseDeltaForODE": "false"
  },
  "description": {
    "pages": [
      {
        "Name": "\u53cd\u4e49\u8bcd",
        "Active": "true",
        "Internal": "false",
        "Type": "DESCRIPTION_EDITOR",
        "Locale": "_default_",
        "Title": "\u53cd\u4e49\u8bcd",
        "External": "false",
        "Code": "<html>\n<head></head>\n<body>\n<h1>\u6e38\u620f\u73a9\u4e00\u73a9</h1><p>\u5c0f\u670b\u53cb\uff0c\u627e\u5230\u53cd\u4e49\u8bcd\uff0c\u5e2e\u5c0f\u72d7\u63a5\u4f4f\u9aa8\u5934\u5427\uff01</p>\n</body>\n</html>"
      }
    ]
  },
  "model": {
    "variables": {
      "pages": [
        {
          "Name": "EditableVariables",
          "Active": "true",
          "Internal": "false",
          "Type": "VARIABLE_EDITOR",
          "PageComment": "",
          "Variables": [
            {
              "Name": "numberofrounds",
              "Value": "6",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "numberofoption",
              "Value": "4",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "answerstringarray",
              "Value": "[[\"\u6674\",\"\u706b\",\"\u5929\",\"\u5149\"],[\"\u6697\",\"\u5173\",\"\u706f\",\"\u6df1\"],[\"\u5356\",\"\u5403\",\"\u8bf7\",\"\u6765\"],[\"\u6e7f\",\"\u6c34\",\"\u810f\",\"\u6e38\"],[\"\u51b7\",\"\u51ac\",\"\u7a7f\",\"\u88ab\"],[\"\u8fdc\",\"\u8fd0\",\"\u4e91\",\"\u5143\"]]",
              "Type": "double",
              "Dimension": "[numberofoption][numberofrounds+1]",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "catchanswerarray",
              "Value": "[\"\u9634\",\"\u660e\",\"\u4e70\",\"\u5e72\",\"\u70ed\",\"\u8fd1\"]",
              "Type": "double",
              "Dimension": "[numberofoption][numberofrounds+1]",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "vx",
              "Value": "Math.max(Math.random(),0.5)",
              "Type": "double",
              "Dimension": "[numberofoption]",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "backGroundImage",
              "Value": "\"./Unnamed3/soccer-field.png\"",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "title",
              "Value": "\"\u627e\u5230\u53cd\u4e49\u8bcd\uff0c\u5e2e\u5c0f\u72d7\u63a5\u4f4f\u9aa8\u5934\"",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            }
          ]
        },
        {
          "Name": "Var Table",
          "Active": "true",
          "Internal": "false",
          "Type": "VARIABLE_EDITOR",
          "PageComment": "",
          "Variables": [
            {
              "Name": "font",
              "Value": "\"\"",
              "Type": "String",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "t",
              "Value": "0",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "dt",
              "Value": "0.05",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "n",
              "Value": "numberofoption",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "x",
              "Value": "2.8",
              "Type": "double",
              "Dimension": "[n]",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "ymax",
              "Value": "6",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "y",
              "Value": "\"\"",
              "Type": "double",
              "Dimension": "[n]",
              "Comment": "[1,2.5,4,5.5]",
              "Domain": "public"
            },
            {
              "Name": "vy",
              "Value": "0",
              "Type": "double",
              "Dimension": "[n]",
              "Comment": "Math.max(Math.random(),0.5)",
              "Domain": "public"
            },
            {
              "Name": "text",
              "Value": "[1,2,3,4]",
              "Type": "double",
              "Dimension": "[n]",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "textanswer",
              "Value": "[answerstringarray[0][0],answerstringarray[0][1],answerstringarray[0][2],answerstringarray[0][3],answerstringarray[0][4]]",
              "Type": "String",
              "Dimension": "[n]",
              "Comment": "[\"took\",\"taked\",\"takes\",\"take\"]",
              "Domain": "public"
            },
            {
              "Name": "vocabaudio",
              "Value": "",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "a",
              "Value": "Math.round(Math.random()*10)",
              "Type": "double",
              "Dimension": "[n]",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "b",
              "Value": "Math.round(Math.random()*10)",
              "Type": "double",
              "Dimension": "[n]",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "c",
              "Value": "1",
              "Type": "double",
              "Dimension": "[n]",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            }
          ]
        },
        {
          "Name": "Var Table 2",
          "Active": "true",
          "Internal": "false",
          "Type": "VARIABLE_EDITOR",
          "PageComment": "",
          "Variables": [
            {
              "Name": "xc",
              "Value": "0",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "yc",
              "Value": "2.5",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "score",
              "Value": "0",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "textcatch",
              "Value": "\"\"",
              "Type": "String",
              "Dimension": "",
              "Comment": "\"take\"",
              "Domain": "public"
            },
            {
              "Name": "correct",
              "Value": "0",
              "Type": "String",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "log",
              "Value": "",
              "Type": "String",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "notrynumber",
              "Value": "0",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "",
              "Domain": "public"
            }
          ]
        }
      ]
    },
    "initialization": {
      "pages": [
        {
          "Name": "shuffleArray(array)",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "\ntextcatch = catchanswerarray[0] // assign first word to catcher rabbit\n//numeric.linspace (start,stop,number)\n//y = numeric.linspace(0,ymax,numberofoption) //using numeric library to arrange\ny = linspace(0,ymax,numberofoption) //using numeric library to arrange\n\nshuffleArray(y);\n//\nsetResponsiveFontSize()\n"
        },
        {
          "Name": "undefined",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "if (log==undefined){\n  log=\"\";\n  }"
        },
        {
          "Name": "messageSize",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "if (_isMobile){\n  //do nothing\n  }\n  \n  else{\n    // copy this into the initialization\n// make the font bigger\nvar fontSize = \"1vw\"\n_view.plottingPanel.getMessageDecoration(\"TL\").getFont().setFontSize(fontSize);\n_view.plottingPanel.getMessageDecoration(\"TR\").getFont().setFontSize(fontSize);\n_view.plottingPanel.getMessageDecoration(\"BL\").getFont().setFontSize(fontSize);\n_view.plottingPanel.getMessageDecoration(\"BR\").getFont().setFontSize(fontSize);\n\n//_view.plottingPanel.getMessageDecoration(\"TL\").getStyle().setFillColor(\"red\");\n    }"
        },
        {
          "Name": "picturesize",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "//orig_listener = _view.plottingPanel.getAxisX().panelChangeListener; _view.plottingPanel.getAxisX().panelChangeListener = function(e) { orig_listener(e); _view.backgroundsoccerfield.setSizeX(_view.plottingPanel.getRealWorldXMax()-_view.plottingPanel.getRealWorldXMin()); _view.backgroundsoccerfield.setSizeY(_view.plottingPanel.getRealWorldYMax()-_view.plottingPanel.getRealWorldYMin()); }"
        }
      ]
    },
    "evolution": {
      "information": {
        "FPS": "20",
        "SPD": "1",
        "RealTimeVariable": "",
        "Autoplay": "false"
      },
      "pages": [
        {
          "Name": "Evol Page",
          "Active": "true",
          "Internal": "false",
          "Type": "ODE_EDITOR",
          "Comment": "",
          "IndependentVariable": "t",
          "Increment": "dt",
          "Equations": [
            {
              "state": "x[i]",
              "rate": "-vx[i]"
            }
          ],
          "Method": "RungeKutta",
          "AbsoluteTolerance": "0.00001",
          "PreliminaryCode": {
            "Code": "",
            "Comment": "Code to be executed before rate equations are evaluated"
          },
          "EventMaximumStep": "",
          "Events": {
            "pages": [
              {
                "Name": "collisioncorrect",
                "Active": "true",
                "Internal": "false",
                "Type": "EVENT_EDITOR",
                "Action": "//alert();\nscore=score+2;\ncorrect = correct +1;\n_view.audio.play();\nlog = log+\"\\n\"+ textcatch + \"\u7684\u53cd\u4e49\u8bcd\u662f\" +textanswer[0] +\"\u2705\";\nx[0]=3;\nx[1]=3;\nx[2]=3;\nx[3]=3;\nshuffleArray(y); \n//speech(\"correct\");\nspeech(textcatch+\" \u7684\u53cd\u4e49\u8bcd\u662f \"+textanswer[0]);\n//alert();\nif (correct==5){ // game mechanism counter\n  _pause();\n  _tools.showOkDialog(\"\u4f60\u7684\u5206\u6570\u662f \"+score+\"/\"+2*numberofrounds+\" !\");\n  _view.audio1.play();\n  }\n  else{\ntextanswer=answerstringarray[correct]; //since correct is increase by 1, use this to change 4 options\ntextcatch=catchanswerarray[correct]; // change basket text as well\n} // game mechanism counter\nvyspeedchange ();\nnotrynumber=0;",
                "Comment": "",
                "EventType": "CROSSING_EVENT",
                "Iterations": "100",
                "Method": "BISECTION",
                "StopAtEvent": "false",
                "Tolerance": "1.0",
                "ZeroCondition": "return Math.sqrt((x[0]-xc)*(x[0]-xc)+(y[0]-yc)*(y[0]-yc))-0.5;"
              },
              {
                "Name": "miss",
                "Active": "true",
                "Internal": "false",
                "Type": "EVENT_EDITOR",
                "Action": "x[0] = 3;\nnotrynumber = notrynumber+1;\nif (notrynumber%4==0) {\nscore=score-0.5;\nlog = log+\"\\n\"+\"\u53e3\u53e3\"+textcatch+\"\u2753\";\n}",
                "Comment": "",
                "EventType": "CROSSING_EVENT",
                "Iterations": "100",
                "Method": "BISECTION",
                "StopAtEvent": "false",
                "Tolerance": "1.0e-5",
                "ZeroCondition": "return x[0]-0;"
              },
              {
                "Name": "miss1",
                "Active": "true",
                "Internal": "false",
                "Type": "EVENT_EDITOR",
                "Action": "x[1] = 3;\nnotrynumber = notrynumber+1;\nif (notrynumber%4==0) {\nscore=score-0.5;\nlog = log+\"\\n\"+\"\u53e3\u53e3\"+textcatch+\"\u2753\";\n}",
                "Comment": "",
                "EventType": "CROSSING_EVENT",
                "Iterations": "100",
                "Method": "BISECTION",
                "StopAtEvent": "false",
                "Tolerance": "1.0e-5",
                "ZeroCondition": "return x[1]-0;"
              },
              {
                "Name": "miss2",
                "Active": "true",
                "Internal": "false",
                "Type": "EVENT_EDITOR",
                "Action": "x[2] = 3;\nnotrynumber = notrynumber+1;\nif (notrynumber%4==0) {\nscore=score-0.5;\nlog = log+\"\\n\"+\"\u53e3\u53e3\"+textcatch+\"\u2753\";\n}",
                "Comment": "",
                "EventType": "CROSSING_EVENT",
                "Iterations": "100",
                "Method": "BISECTION",
                "StopAtEvent": "false",
                "Tolerance": "1.0e-5",
                "ZeroCondition": "return x[2]-0;"
              },
              {
                "Name": "miss3",
                "Active": "true",
                "Internal": "false",
                "Type": "EVENT_EDITOR",
                "Action": "x[3] = 3;\nnotrynumber = notrynumber+1;\nif (notrynumber%4==0) {\nscore=score-0.5;\nlog = log+\"\\n\"+\"\u53e3\u53e3\"+textcatch+\"\u2753\";\n}",
                "Comment": "",
                "EventType": "CROSSING_EVENT",
                "Iterations": "100",
                "Method": "BISECTION",
                "StopAtEvent": "false",
                "Tolerance": "1.0e-5",
                "ZeroCondition": "return x[3]-0;"
              },
              {
                "Name": "collisionwrong2",
                "Active": "true",
                "Internal": "false",
                "Type": "EVENT_EDITOR",
                "Action": "//alert();\nscore=score-1;\nlog = log+\"\\n\"+textanswer[1]+textcatch+\"\u274c\";\n//x[0]=3;\nx[1]=3;\n//x[2]=3;\n//x[3]=3;",
                "Comment": "",
                "EventType": "CROSSING_EVENT",
                "Iterations": "100",
                "Method": "BISECTION",
                "StopAtEvent": "false",
                "Tolerance": "1.0",
                "ZeroCondition": "return Math.sqrt((x[1]-xc)*(x[1]-xc)+(y[1]-yc)*(y[1]-yc))-0.25;"
              },
              {
                "Name": "collisionwrong 3",
                "Active": "true",
                "Internal": "false",
                "Type": "EVENT_EDITOR",
                "Action": "//alert();\nscore=score-1;\nlog = log+\"\\n\"+textanswer[2]+textcatch+\"\u274c\";\n//x[0]=3;\n//x[1]=3;\nx[2]=3;\n//x[3]=3;",
                "Comment": "",
                "EventType": "CROSSING_EVENT",
                "Iterations": "100",
                "Method": "BISECTION",
                "StopAtEvent": "false",
                "Tolerance": "1.0",
                "ZeroCondition": "return Math.sqrt((x[2]-xc)*(x[2]-xc)+(y[2]-yc)*(y[2]-yc))-0.25;"
              },
              {
                "Name": "collisionwrong 4",
                "Active": "true",
                "Internal": "false",
                "Type": "EVENT_EDITOR",
                "Action": "//alert();\nscore=score-1;\nlog = log+\"\\n\"+textanswer[3]+textcatch+\"\u274c\";\n//x[0]=3;\n//x[1]=3;\n//x[2]=3;\nx[3]=3;\n",
                "Comment": "",
                "EventType": "CROSSING_EVENT",
                "Iterations": "100",
                "Method": "BISECTION",
                "StopAtEvent": "false",
                "Tolerance": "1.0",
                "ZeroCondition": "return Math.sqrt((x[3]-xc)*(x[3]-xc)+(y[3]-yc)*(y[3]-yc))-0.25;"
              }
            ]
          },
          "ZenoEffect": {
            "Code": "",
            "Comment": "",
            "StopAfterEffect": "true"
          },
          "AccelerationIndependentOfVelocity": "false",
          "ForceSynchronization": "false",
          "UseBestInterpolation": "false",
          "EstimateFirstStep": "false",
          "MemoryLength": "",
          "InternalStep": "",
          "MaximumStep": "",
          "MaximumNumberOfSteps": "10000",
          "RelativeTolerance": "",
          "DelayList": "",
          "DelayMaximum": "",
          "DelayAddDiscont": "",
          "DelayInitialCondition": {
            "Code": "",
            "Comment": ""
          },
          "DirectIncidenceMatrix": "",
          "Discontinuities": {
            "pages": []
          },
          "ErrorHandling": {
            "pages": []
          }
        }
      ]
    },
    "fixed_relations": {
      "pages": [
        {
          "Name": "FixRel Page",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": ""
        }
      ]
    },
    "custom": {
      "pages": [
        {
          "Name": "shuffleArray(array)",
          "Active": "true",
          "Internal": "false",
          "Type": "LIBRARY_EDITOR",
          "Comment": "",
          "Code": "// in initialization\n// possible usage if x is the array\n//shuffleArray(x);\n\n\n//https://stackoverflow.com/questions/2450954/how-to-randomize-shuffle-a-javascript-array\n/**\n * Randomize array element order in-place.\n * Using Durstenfeld shuffle algorithm.\n */\nfunction shuffleArray(array) {\n    for (var i = array.length - 1; i > 0; i--) {\n        var j = Math.floor(Math.random() * (i + 1));\n        var temp = array[i];\n        array[i] = array[j];\n        array[j] = temp;\n    }\n}"
        },
        {
          "Name": "numerics",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "// numerics\n// Function to generate a linearly spaced array\nfunction linspace(start, end, numberOfPoints) {\n  const step = (end - start) / (numberOfPoints - 1);\n  const result = [];\n  for (let i = 0; i < numberOfPoints; i++) {\n    result.push(start + (step * i));\n  }\n  return result;\n}"
        },
        {
          "Name": "speech",
          "Active": "true",
          "Internal": "false",
          "Type": "LIBRARY_EDITOR",
          "Comment": "",
          "Code": "// Custom speech function\nfunction speech(option) {\n    // Allow code to run in Student Learning Space\n    var isCordova = (!!this.parent.cordova || !!window.cordova);\n    if (isCordova) { // Check if it is running in Android or iOS\n        parent.TTS.speak({ text: option, locale: 'zh-CN' });\n        // parent.TTS.speak({ text: option, locale: 'en-US' });\n    } else {\n        var msg = new SpeechSynthesisUtterance(option);\n\n        // Set the language to Chinese\n        msg.lang = 'zh-CN';\n\n        // Queue this utterance\n        window.speechSynthesis.speak(msg);\n    }\n}\n"
        },
        {
          "Name": "vyspeedchange",
          "Active": "true",
          "Internal": "false",
          "Type": "LIBRARY_EDITOR",
          "Comment": "",
          "Code": "\nfunction vyspeedchange () {\n  for (var counter=0; counter<n  ; counter++) {\n  vx[counter] = Math.max(Math.random(),0.5);\n}\n}"
        },
        {
          "Name": "setResponsiveFontSize",
          "Active": "true",
          "Internal": "false",
          "Type": "LIBRARY_EDITOR",
          "Comment": "",
          "Code": "function setResponsiveFontSize() {\n    // Get the viewport dimensions\n    var viewportWidth = window.innerWidth || document.documentElement.clientWidth;\n    var viewportHeight = window.innerHeight || document.documentElement.clientHeight;\n    var percent = 0.03\n    // Calculate the font size based on viewport width or height\n    var fontSize = Math.min(viewportWidth * percent, viewportHeight * percent); // Adjust the multiplier as needed\n\n    // Set the font size\n    font = \"normal normal \" + fontSize + \"px\"; // You can use px or other units as needed\n\n    // Apply the font size to your elements\n    // For example, you can apply it to a specific element with a class\n    //document.getElementById(\"yourElementId\").style.font = font;\n}"
        }
      ]
    },
    "elements": {
      "list": []
    }
  },
  "view": {
    "Tree": [
      {
        "Name": "singlePlotPanel",
        "Type": "Panel",
        "Expanded": "true",
        "Properties": [],
        "Children": [
          {
            "Name": "title",
            "Type": "Label",
            "Properties": [
              {
                "name": "Text",
                "value": "%title%"
              },
              {
                "name": "Font",
                "value": "%font%"
              }
            ]
          },
          {
            "Name": "executionPanel",
            "Type": "Panel",
            "Expanded": "true",
            "Properties": [
              {
                "name": "Font",
                "value": "%font%"
              },
              {
                "name": "Display",
                "value": "\"inline-block\""
              }
            ],
            "Children": [
              {
                "Name": "runPauseButton",
                "Type": "TwoStateButton",
                "Properties": [
                  {
                    "name": "OffClick",
                    "value": "%_pause%"
                  },
                  {
                    "name": "TextOn",
                    "value": "\"\u25b6\""
                  },
                  {
                    "name": "State",
                    "value": "_isPaused"
                  },
                  {
                    "name": "Tooltip",
                    "value": "\"Play/Pause\""
                  },
                  {
                    "name": "TextOff",
                    "value": "\"\u275a\u275a\""
                  },
                  {
                    "name": "OnClick",
                    "value": "_play();\n//speech(\"\u73a9\"); \n"
                  }
                ]
              },
              {
                "Name": "stepButton",
                "Type": "Button",
                "Properties": [
                  {
                    "name": "Tooltip",
                    "value": "\"Step\""
                  },
                  {
                    "name": "Text",
                    "value": "\"|\u25ba\""
                  },
                  {
                    "name": "OnClick",
                    "value": "%_step%"
                  }
                ]
              },
              {
                "Name": "initButton",
                "Type": "Button",
                "Properties": [
                  {
                    "name": "Tooltip",
                    "value": "\"Initialize\""
                  },
                  {
                    "name": "OnClick",
                    "value": "%_initialize%"
                  },
                  {
                    "name": "Display",
                    "value": "\"none\""
                  }
                ]
              },
              {
                "Name": "resetButton",
                "Type": "Button",
                "Properties": [
                  {
                    "name": "Tooltip",
                    "value": "\"Reset\""
                  },
                  {
                    "name": "Text",
                    "value": "\"\u518d\u73a9\u4e00\u6b21\""
                  },
                  {
                    "name": "OnClick",
                    "value": "_reset()\nspeech(\"\u518d\u73a9\u4e00\u6b21\")"
                  }
                ]
              }
            ]
          },
          {
            "Name": "plottingPanel",
            "Type": "PlottingPanel",
            "Expanded": "true",
            "Properties": [
              {
                "name": "Gutters",
                "value": "[0,0,0,0]"
              },
              {
                "name": "XFixedTick",
                "value": "0"
              },
              {
                "name": "Enabled",
                "value": "true"
              },
              {
                "name": "MaximumY",
                "value": "6"
              },
              {
                "name": "MaximumX",
                "value": "3.5"
              },
              {
                "name": "YFixedTick",
                "value": "0"
              },
              {
                "name": "YAutoTicks",
                "value": "false"
              },
              {
                "name": "GridYShow",
                "value": "true"
              },
              {
                "name": "MinimumX",
                "value": "-0.5"
              },
              {
                "name": "MinimumY",
                "value": "0"
              },
              {
                "name": "XTickStep",
                "value": "1"
              },
              {
                "name": "MarginY",
                "value": "20"
              },
              {
                "name": "XAutoTicks",
                "value": "false"
              },
              {
                "name": "Height",
                "value": "\"\"+window.innerHeight*0.9"
              },
              {
                "name": "GridXShow",
                "value": "true"
              },
              {
                "name": "Width",
                "value": "\"100%\""
              },
              {
                "name": "TLMessage",
                "value": "\"Score = \"+score"
              },
              {
                "name": "BRMessage",
                "value": "\"Not attempted = \"+notrynumber"
              },
              {
                "name": "TRMessage",
                "value": "\"Total Score=\"+score+\"/\"+2*numberofrounds+\"\\n\"+log"
              }
            ],
            "Children": [
              {
                "Name": "background",
                "Type": "Image2D",
                "Properties": [
                  {
                    "name": "SizeX",
                    "value": "4"
                  },
                  {
                    "name": "X",
                    "value": "1.5"
                  },
                  {
                    "name": "ImageUrl",
                    "value": "\"./background2.png\""
                  },
                  {
                    "name": "Y",
                    "value": "2.5"
                  },
                  {
                    "name": "SizeY",
                    "value": "ymax*(1.2+0.2)"
                  }
                ]
              },
              {
                "Name": "imageSet",
                "Type": "ImageSet2D",
                "Properties": [
                  {
                    "name": "NumberOfElements",
                    "value": "numberofoption"
                  },
                  {
                    "name": "SizeX",
                    "value": "150"
                  },
                  {
                    "name": "X",
                    "value": "x"
                  },
                  {
                    "name": "Y",
                    "value": "y"
                  },
                  {
                    "name": "ImageUrl",
                    "value": "\"./GuTou1.png\""
                  },
                  {
                    "name": "SizeY",
                    "value": "70"
                  },
                  {
                    "name": "PixelSize",
                    "value": "true"
                  }
                ]
              },
              {
                "Name": "group",
                "Type": "Group2D",
                "Expanded": "true",
                "Properties": [],
                "Children": [
                  {
                    "Name": "image",
                    "Type": "Image2D",
                    "Properties": [
                      {
                        "name": "Sensitivity",
                        "value": "0"
                      },
                      {
                        "name": "SizeX",
                        "value": "200"
                      },
                      {
                        "name": "X",
                        "value": "xc"
                      },
                      {
                        "name": "ImageUrl",
                        "value": "\"./Dog1.png\""
                      },
                      {
                        "name": "Y",
                        "value": "yc"
                      },
                      {
                        "name": "SizeY",
                        "value": "175"
                      },
                      {
                        "name": "PixelSize",
                        "value": "true"
                      },
                      {
                        "name": "EnabledPosition",
                        "value": "\"ENABLED_Y\""
                      }
                    ]
                  },
                  {
                    "Name": "textcatch",
                    "Type": "Text2D",
                    "Properties": [
                      {
                        "name": "FillColor",
                        "value": "\"#ffffff\""
                      },
                      {
                        "name": "RelativePosition",
                        "value": "\"WEST\""
                      },
                      {
                        "name": "X",
                        "value": "xc-0.0"
                      },
                      {
                        "name": "Y",
                        "value": "yc-0.4"
                      },
                      {
                        "name": "Text",
                        "value": "%textcatch%"
                      }
                    ]
                  }
                ]
              },
              {
                "Name": "answerstringarray",
                "Type": "TextSet2D",
                "Properties": [
                  {
                    "name": "NumberOfElements",
                    "value": "n"
                  },
                  {
                    "name": "FillColor",
                    "value": "\"#6a4444\""
                  },
                  {
                    "name": "RelativePosition",
                    "value": "\"CENTERED\""
                  },
                  {
                    "name": "X",
                    "value": "x"
                  },
                  {
                    "name": "Y",
                    "value": "y"
                  },
                  {
                    "name": "Text",
                    "value": "%textanswer%"
                  },
                  {
                    "name": "Visibility",
                    "value": "true"
                  },
                  {
                    "name": "EnabledPosition",
                    "value": "\"ENABLED_NO_MOVE\""
                  },
                  {
                    "name": "Font",
                    "value": "%font%"
                  }
                ]
              }
            ]
          },
          {
            "Name": "audio",
            "Type": "Audio",
            "Properties": [
              {
                "name": "AudioUrl",
                "value": "\"./correct.mp3\""
              },
              {
                "name": "Volume",
                "value": "0.2"
              }
            ]
          },
          {
            "Name": "audio1",
            "Type": "Audio",
            "Properties": [
              {
                "name": "AudioUrl",
                "value": "\"./nizhenbang.mp3\""
              }
            ]
          }
        ]
      }
    ],
    "RootProperties": []
  },
  "metadata": {
    "APP": "WebEJS",
    "CreatedWith": "WebEJS : the web version of Easy JavaScript Simulations",
    "MoreInfo": "1.0",
    "version": "https://t.um.es/webejs"
  }
}