<commit_before>{% extends 'website/base.html' %}

{% load static %}
{% load compress %}

{% block title %}Game{% endblock %}

{% block scripts %}
{{block.super}}
  <script src="{% static 'game/js/messages.js' %}"></script>
  <script src="{% static 'game/js/mobile-detect.min.js' %}"></script>
  <script src="{% static 'game/js/raphael.js' %}"></script>
  <script src="{% static 'game/js/drawing.js' %}"></script>
  <script src="{% static 'game/js/blockly/blockly_compressed.js' %}"></script>
  <script src="{% static 'game/js/blockly/blocks_compressed.js' %}"></script>
  <script src="{% static 'game/js/blockly/javascript_compressed.js' %}"></script>
  <script src="{% static 'game/js/blockly/msg/js/en.js' %}"></script>
  <script src="{% static 'game/js/blockly_control.js' %}"></script>
  <script src="{% static 'game/js/coordinate.js' %}"></script>
  <script src="{% static 'game/js/game.js' %}"></script>
  <script src="{% static 'game/js/pathFinder.js' %}"></script>
  <script src="{% static 'game/js/instruction.js' %}"></script>
  <script src="{% static 'game/js/level.js' %}"></script>
  <script src="{% static 'game/js/map.js' %}"></script>
  <script src="{% static 'game/js/node.js' %}"></script>
  <script src="{% static 'game/js/program.js' %}"></script>
  <script src="{% static 'game/js/ui.js' %}"></script>
  <script src="{% static 'game/js/van.js' %}"></script>
  <script src="{% static 'game/js/sound.js' %}"></script>

  <script>
    var PATH = {{level.path|safe}};
    var DESTINATION = {{level.destination|safe}};
    var DECOR = {{level.decor|safe}};
    var LEVEL_ID = {{level.id}};
    var BLOCK_LIMIT = "{{level.blockLimit}}" != "None" ?  {{level.blockLimit}} : null;
    var LESSON = "{{lesson}}";
    var HINT = "{{hint}}";
    var LEVEL_COUNT = {{defaultLevelCount}};
    var BLOCKS =  [];
    {% for block in blocks %}
      BLOCKS.push("{{block.type}}");
    {% endfor %}
    var MAX_FUEL = {{level.maxFuel}};
  </script>
  
{% endblock %}

{% block css %}
{{block.super}}
  {% compress css %}
    <link href="{% static 'game/css/game.css' %}" rel="stylesheet" type="text/css">
  {% endcompress %}
{% endblock %}
<commit_msg>Small fix to game.html<commit_after>{% extends 'website/base.html' %}

{% load static %}
{% load compress %}

{% block title %}Game{% endblock %}

{% block scripts %}
{{block.super}}
  <script src="{% static 'game/js/messages.js' %}"></script>
  <script src="{% static 'game/js/mobile-detect.min.js' %}"></script>
  <script src="{% static 'game/js/raphael.js' %}"></script>
  <script src="{% static 'game/js/drawing.js' %}"></script>
  <script src="{% static 'game/js/blockly/blockly_compressed.js' %}"></script>
  <script src="{% static 'game/js/blockly/blocks_compressed.js' %}"></script>
  <script src="{% static 'game/js/blockly/javascript_compressed.js' %}"></script>
  <script src="{% static 'game/js/blockly/msg/js/en.js' %}"></script>
  <script src="{% static 'game/js/blockly_control.js' %}"></script>
  <script src="{% static 'game/js/coordinate.js' %}"></script>
  <script src="{% static 'game/js/game.js' %}"></script>
  <script src="{% static 'game/js/pathFinder.js' %}"></script>
  <script src="{% static 'game/js/instruction.js' %}"></script>
  <script src="{% static 'game/js/level.js' %}"></script>
  <script src="{% static 'game/js/map.js' %}"></script>
  <script src="{% static 'game/js/node.js' %}"></script>
  <script src="{% static 'game/js/program.js' %}"></script>
  <script src="{% static 'game/js/ui.js' %}"></script>
  <script src="{% static 'game/js/van.js' %}"></script>
  <script src="{% static 'game/js/sound.js' %}"></script>

  <script>
    var PATH = {{level.path|safe}};
    var DESTINATION = {{level.destination|safe}};
    var DECOR = {{level.decor|safe}};
    var LEVEL_ID = {{level.id}};
    var BLOCK_LIMIT = "{{level.blockLimit}}" != "None" ? {{level.blockLimit}} : null;
    var LESSON = "{{lesson}}";
    var HINT = "{{hint}}";
    var LEVEL_COUNT = {{defaultLevelCount}};
    var BLOCKS =  [];
    {% for block in blocks %}
      BLOCKS.push("{{block.type}}");
    {% endfor %}
    var MAX_FUEL = {{level.maxFuel}};
  </script>
  
{% endblock %}

{% block css %}
{{block.super}}
  {% compress css %}
    <link href="{% static 'game/css/game.css' %}" rel="stylesheet" type="text/css">
  {% endcompress %}
{% endblock %}

{'fraction_non_alphanumeric': 0.2494210282538212, 'fraction_numerical': 0.0, 'mean_word_length': 4.022093023255814, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5603342', 'n_tokens_mistral': 1681, 'n_tokens_neox': 1534, 'n_words': 339}