demos/dlgr/demos/snake/templates/experiment.html
{% extends "layout.html" %}
<!--
Copyright 2012 Dominik Heier
This file is part of coffee-snake.
coffee-snake is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
{% block stylesheets %}
<style type="text/css">
body {
background-color:black;
}
#canvas_container {
margin: 25px auto;
}
</style>
{% endblock %}
{% block body %}
<div id="canvas_container"><canvas></canvas></div>
{% endblock %}
{% block libs %}
{{ super() }}
<script src="{{ url_for('static', filename='scripts/atom/atom.js') }}" type="text/javascript"> </script>
<script src="{{ url_for('static', filename='scripts/stake.js') }}" type="text/javascript"> </script>
<script src="{{ url_for('static', filename='scripts/experiment.js') }}" type="text/javascript"> </script>
{% endblock %}
{% block scripts %}
<script>create_agent();</script>
{% endblock %}