instruction: In Spck Editor app, Open game.js file

previous_actions: {"name": "open_app", "parameters": {"app_name": "Spck Editor"}}
{"name": "click", "parameters": {"x": 542, "y": 1237}}
{"name": "click", "parameters": {"x": 222, "y": 553}}

active_application: Spck Editor

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 145
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 575
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 575
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 246
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "12:11 PM"
      text: "12:11"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 246
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 246
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 51
        right: 1006
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 246
        top: 1
        right: 304
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather notification: 34°"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 304
        top: 1
        right: 362
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "MakeMyTrip notification: Thankyou For the Visit"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 362
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ixigo trains notification: Travel ka phal meetha hota hai💰"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 420
        top: 1
        right: 478
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Photos notification: New! Hide sensitive photos & videos"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 478
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: 28° in Bandhwari"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 48
        right: 970
        bottom: 87
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 48
        right: 970
        bottom: 87
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 938
  title: "Spck Editor"
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.webkit.WebView"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1084
        bottom: 2339
      }
      class_name: "android.webkit.WebView"
      text: "Editor | Spck Editor"
      is_focusable: true
      is_focused: true
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1084
        bottom: 269
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 264
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 36
        top: 167
        right: 99
        bottom: 233
      }
      class_name: "android.view.View"
      content_description: ""
      is_clickable: true
      clickable_spans {
        text: ""
        source: CONTENT_DESCRIPTION
        node_id: 15
      }
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 115
        top: 201
        right: 1084
        bottom: 269
      }
      class_name: "android.widget.TextView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 136
        right: 850
        bottom: 267
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 847
        top: 151
        right: 1063
        bottom: 248
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 264
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 36
        top: 170
        right: 99
        bottom: 230
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 136
        right: 850
        bottom: 267
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 853
        top: 159
        right: 955
        bottom: 241
      }
      class_name: "android.view.View"
      content_description: ""
      is_clickable: true
      clickable_spans {
        text: ""
        source: CONTENT_DESCRIPTION
        node_id: 22
      }
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 960
        top: 151
        right: 1060
        bottom: 248
      }
      class_name: "android.view.View"
      is_clickable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 264
        right: 1084
        bottom: 364
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 361
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 136
        right: 850
        bottom: 267
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 876
        top: 167
        right: 929
        bottom: 233
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 984
        top: 172
        right: 1036
        bottom: 225
      }
      class_name: "android.widget.Image"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 264
        right: 963
        bottom: 364
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 966
        top: 264
        right: 1063
        bottom: 364
      }
      class_name: "android.view.View"
      content_description: ""
      is_clickable: true
      clickable_spans {
        text: ""
        source: CONTENT_DESCRIPTION
        node_id: 30
      }
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 361
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      is_clickable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 2123
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 136
        right: 338
        bottom: 267
      }
      class_name: "android.widget.ListView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 264
        right: 963
        bottom: 364
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 989
        top: 280
        right: 1042
        bottom: 346
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: -792
        top: 136
        right: -779
        bottom: -420
      }
      class_name: "android.widget.EditText"
      text: "⇝LK\n\n"
      is_clickable: true
      is_editable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 361
        right: 1084
        bottom: 2339
      }
      class_name: "android.widget.TextView"
      is_clickable: true
      is_scrollable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 361
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 2125
        right: 1084
        bottom: 2209
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 2207
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 167
        right: 338
        bottom: 235
      }
      class_name: "android.view.View"
      is_clickable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 264
        right: 963
        bottom: 364
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 403
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 2125
        right: 215
        bottom: 2209
      }
      class_name: "android.view.View"
      content_description: "Ln 1, Col 1"
      is_clickable: true
      clickable_spans {
        text: "Ln 1, Col 1"
        source: CONTENT_DESCRIPTION
        node_id: 44
      }
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 553
        top: 2125
        right: 740
        bottom: 2209
      }
      class_name: "android.view.View"
      content_description: "Spaces: 2"
      is_clickable: true
      clickable_spans {
        text: "Spaces: 2"
        source: CONTENT_DESCRIPTION
        node_id: 45
      }
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 737
        top: 2125
        right: 934
        bottom: 2209
      }
      class_name: "android.view.View"
      content_description: "JavaScript"
      is_clickable: true
      clickable_spans {
        text: "JavaScript"
        source: CONTENT_DESCRIPTION
        node_id: 46
      }
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 2125
        right: 1084
        bottom: 2209
      }
      class_name: "android.view.View"
      content_description: "UTF-8"
      is_clickable: true
      clickable_spans {
        text: "UTF-8"
        source: CONTENT_DESCRIPTION
        node_id: 47
      }
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 2123
        right: 1084
        bottom: 2123
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 4280
        right: 1084
        bottom: 2339
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 2207
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 178
        right: 338
        bottom: 227
      }
      class_name: "android.widget.TextView"
      text: "game.js"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 264
        right: 729
        bottom: 364
      }
      class_name: "android.widget.ListView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 403
        right: 1084
        bottom: 2339
      }
      class_name: "android.widget.TextView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 403
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 403
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 403
        right: 1084
        bottom: 2339
      }
      class_name: "android.widget.TextView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 403
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 36
        top: 2146
        right: 194
        bottom: 2188
      }
      class_name: "android.widget.TextView"
      text: "Ln 1, Col 1"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 574
        top: 2146
        right: 719
        bottom: 2188
      }
      class_name: "android.widget.TextView"
      text: "Spaces: 2"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 756
        top: 2146
        right: 916
        bottom: 2188
      }
      class_name: "android.widget.TextView"
      text: "JavaScript"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 952
        top: 2146
        right: 1044
        bottom: 2188
      }
      class_name: "android.widget.TextView"
      text: "UTF-8"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 2207
        right: 136
        bottom: 2339
      }
      class_name: "android.view.View"
      content_description: ""
      is_clickable: true
      clickable_spans {
        text: ""
        source: CONTENT_DESCRIPTION
        node_id: 62
      }
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 2207
        right: 273
        bottom: 2339
      }
      class_name: "android.view.View"
      content_description: ""
      is_clickable: true
      clickable_spans {
        text: ""
        source: CONTENT_DESCRIPTION
        node_id: 63
      }
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 267
        top: 2207
        right: 406
        bottom: 2339
      }
      class_name: "android.view.View"
      content_description: ""
      is_clickable: true
      clickable_spans {
        text: ""
        source: CONTENT_DESCRIPTION
        node_id: 64
      }
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 404
        top: 2207
        right: 543
        bottom: 2339
      }
      class_name: "android.view.View"
      content_description: ""
      is_clickable: true
      clickable_spans {
        text: ""
        source: CONTENT_DESCRIPTION
        node_id: 65
      }
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 2207
        right: 677
        bottom: 2339
      }
      class_name: "android.view.View"
      content_description: ""
      is_clickable: true
      clickable_spans {
        text: ""
        source: CONTENT_DESCRIPTION
        node_id: 66
      }
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 674
        top: 2207
        right: 813
        bottom: 2339
      }
      class_name: "android.view.View"
      is_clickable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 808
        top: 2207
        right: 947
        bottom: 2339
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 945
        top: 2207
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      content_description: ""
      is_clickable: true
      clickable_spans {
        text: ""
        source: CONTENT_DESCRIPTION
        node_id: 69
      }
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 264
        right: 288
        bottom: 364
      }
      class_name: "android.view.View"
      text: "style.css"
      is_clickable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 286
        top: 264
        right: 459
        bottom: 364
      }
      class_name: "android.view.View"
      text: "ta"
      is_clickable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 456
        top: 264
        right: 729
        bottom: 364
      }
      class_name: "android.view.View"
      text: "game.js"
      is_clickable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 403
        right: 1084
        bottom: 448
      }
      class_name: "android.widget.TextView"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 403
        right: 1084
        bottom: 448
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 445
        right: 1084
        bottom: 490
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 487
        right: 1084
        bottom: 532
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 529
        right: 1084
        bottom: 574
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 571
        right: 1084
        bottom: 616
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 613
        right: 1084
        bottom: 658
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 655
        right: 1084
        bottom: 700
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 697
        right: 1084
        bottom: 742
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 739
        right: 1084
        bottom: 784
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 781
        right: 1084
        bottom: 826
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 823
        right: 1084
        bottom: 952
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 949
        right: 1084
        bottom: 994
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 991
        right: 1084
        bottom: 1036
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1033
        right: 1084
        bottom: 1120
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1117
        right: 1084
        bottom: 1162
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1159
        right: 1084
        bottom: 1204
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1201
        right: 1084
        bottom: 1246
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1243
        right: 1084
        bottom: 1288
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1285
        right: 1084
        bottom: 1330
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1327
        right: 1084
        bottom: 1372
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1369
        right: 1084
        bottom: 1414
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1411
        right: 1084
        bottom: 1456
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1453
        right: 1084
        bottom: 1498
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1495
        right: 1084
        bottom: 1540
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1537
        right: 1084
        bottom: 1582
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1579
        right: 1084
        bottom: 1624
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1621
        right: 1084
        bottom: 1708
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1705
        right: 1084
        bottom: 1750
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1747
        right: 1084
        bottom: 1792
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1789
        right: 1084
        bottom: 1834
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1831
        right: 1084
        bottom: 1876
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1873
        right: 1084
        bottom: 1918
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1915
        right: 1084
        bottom: 1960
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1957
        right: 1084
        bottom: 2002
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1999
        right: 1084
        bottom: 2044
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2041
        right: 1084
        bottom: 2086
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2083
        right: 1084
        bottom: 2128
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2125
        right: 1084
        bottom: 2170
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2167
        right: 1084
        bottom: 2212
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2209
        right: 1084
        bottom: 2254
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2251
        right: 1084
        bottom: 2296
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2293
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2377
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2419
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2461
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2503
        right: 1084
        bottom: 2339
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 403
        right: 183
        bottom: 448
      }
      class_name: "android.widget.TextView"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 2243
        right: 94
        bottom: 2299
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 175
        top: 2243
        right: 231
        bottom: 2299
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 309
        top: 2243
        right: 367
        bottom: 2299
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 446
        top: 2243
        right: 501
        bottom: 2299
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 580
        top: 2243
        right: 635
        bottom: 2299
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 711
        top: 2241
        right: 777
        bottom: 2306
      }
      class_name: "android.widget.Image"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 987
        top: 2243
        right: 1042
        bottom: 2299
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 403
        right: 1084
        bottom: 448
      }
      class_name: "android.widget.TextView"
      text: "var Snake = (function () {"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 445
        right: 1084
        bottom: 490
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 487
        right: 1084
        bottom: 532
      }
      class_name: "android.widget.TextView"
      text: "  const INITIAL_TAIL = 4;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 529
        right: 1084
        bottom: 574
      }
      class_name: "android.widget.TextView"
      text: "  var fixedTail = true;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 571
        right: 1084
        bottom: 616
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 613
        right: 1084
        bottom: 658
      }
      class_name: "android.widget.TextView"
      text: "  var intervalID;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 655
        right: 1084
        bottom: 700
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 697
        right: 1084
        bottom: 742
      }
      class_name: "android.widget.TextView"
      text: "  var tileCount = 10;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 739
        right: 1084
        bottom: 784
      }
      class_name: "android.widget.TextView"
      text: "  var gridSize = 400/tileCount;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 781
        right: 1084
        bottom: 826
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 823
        right: 1084
        bottom: 868
      }
      class_name: "android.widget.TextView"
      text: "  const INITIAL_PLAYER = { x: Math.floor"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 865
        right: 1084
        bottom: 910
      }
      class_name: "android.widget.TextView"
      text: "    (tileCount / 2), y: Math.floor(tileCount / "
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 907
        right: 1084
        bottom: 952
      }
      class_name: "android.widget.TextView"
      text: "    2) };"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 949
        right: 1084
        bottom: 994
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 991
        right: 1084
        bottom: 1036
      }
      class_name: "android.widget.TextView"
      text: "  var velocity = { x:0, y:0 };"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1033
        right: 1084
        bottom: 1078
      }
      class_name: "android.widget.TextView"
      text: "  var player = { x: INITIAL_PLAYER.x, y: "
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1075
        right: 1084
        bottom: 1120
      }
      class_name: "android.widget.TextView"
      text: "    INITIAL_PLAYER.y };"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1117
        right: 1084
        bottom: 1162
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1159
        right: 1084
        bottom: 1204
      }
      class_name: "android.widget.TextView"
      text: "  var walls = false;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1201
        right: 1084
        bottom: 1246
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1243
        right: 1084
        bottom: 1288
      }
      class_name: "android.widget.TextView"
      text: "  var fruit = { x:1, y:1 };"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1285
        right: 1084
        bottom: 1330
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1327
        right: 1084
        bottom: 1372
      }
      class_name: "android.widget.TextView"
      text: "  var trail = [];"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1369
        right: 1084
        bottom: 1414
      }
      class_name: "android.widget.TextView"
      text: "  var tail = INITIAL_TAIL;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1411
        right: 1084
        bottom: 1456
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1453
        right: 1084
        bottom: 1498
      }
      class_name: "android.widget.TextView"
      text: "  var reward = 0;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1495
        right: 1084
        bottom: 1540
      }
      class_name: "android.widget.TextView"
      text: "  var points = 0;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1537
        right: 1084
        bottom: 1582
      }
      class_name: "android.widget.TextView"
      text: "  var pointsMax = 0;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1579
        right: 1084
        bottom: 1624
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1621
        right: 1084
        bottom: 1666
      }
      class_name: "android.widget.TextView"
      text: "  var ActionEnum = { \'none\':0, \'up\':1, \'down\':2"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1663
        right: 1084
        bottom: 1708
      }
      class_name: "android.widget.TextView"
      text: "    , \'left\':3, \'right\':4 };"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1705
        right: 1084
        bottom: 1750
      }
      class_name: "android.widget.TextView"
      text: "  Object.freeze(ActionEnum);"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1747
        right: 1084
        bottom: 1792
      }
      class_name: "android.widget.TextView"
      text: "  var lastAction = ActionEnum.none;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1789
        right: 1084
        bottom: 1834
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1831
        right: 1084
        bottom: 1876
      }
      class_name: "android.widget.TextView"
      text: "  function setup () {"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1873
        right: 1084
        bottom: 1918
      }
      class_name: "android.widget.TextView"
      text: "    canv = document.getElementById(\'gc\');"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1915
        right: 1084
        bottom: 1960
      }
      class_name: "android.widget.TextView"
      text: "    ctx = canv.getContext(\'2d\');"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1957
        right: 1084
        bottom: 2002
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1999
        right: 1084
        bottom: 2044
      }
      class_name: "android.widget.TextView"
      text: "    game.reset();"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2041
        right: 1084
        bottom: 2086
      }
      class_name: "android.widget.TextView"
      text: "  }"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2083
        right: 1084
        bottom: 2128
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2125
        right: 1084
        bottom: 2170
      }
      class_name: "android.widget.TextView"
      text: "  var game = {"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2167
        right: 1084
        bottom: 2212
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2209
        right: 1084
        bottom: 2254
      }
      class_name: "android.widget.TextView"
      text: "    reset: function () {"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2251
        right: 1084
        bottom: 2296
      }
      class_name: "android.widget.TextView"
      text: "      ctx.fillStyle = \'grey\';"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2293
        right: 1084
        bottom: 2338
      }
      class_name: "android.widget.TextView"
      text: "      ctx.fillRect(0, 0, canv.width, canv"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2335
        right: 1084
        bottom: 2339
      }
      class_name: "android.widget.TextView"
      text: "        .height);"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2377
        right: 1084
        bottom: 2339
      }
      class_name: "android.widget.TextView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2419
        right: 1084
        bottom: 2339
      }
      class_name: "android.widget.TextView"
      text: "      tail = INITIAL_TAIL;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2461
        right: 1084
        bottom: 2339
      }
      class_name: "android.widget.TextView"
      text: "      points = 0;"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 2503
        right: 1084
        bottom: 2339
      }
      class_name: "android.widget.TextView"
      text: "      velocity.x = 0;"
      depth: 19
    }
  }
}


assistant: !FUNCTIONCALL{"name": "status", "parameters": {"goal_status": "successful"}}