er.toString() ? 1.0 : -1.0;
    core.endEpisode(r, r > 0);
  });
}

window.onload = function(){
  core.startEpisode();
}
</script>
</head>
<body>
<div id="wrap">
  <div id="query">Solve the math problem and type your answer into the textbox. Press submit when done.</div>
  <div id="area">
    <div class="math-container">
      <div id="math-problem"></div>
      <input type="text" id="math-answer">
    </div>
    <button id="subbtn" class="secondary-action">Submit</button>
  </div>
</div>
</body>
</html>
