Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 45 lines (35 sloc) 1.159 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Network Controlled HexBug</title>
<script src=""></script>
<script type="text/javascript">
google.load('jquery', '1.3.1');
<script src="/js/jquery.hotkeys.min.js"></script>
{% if hexbug_avaliable %}
<script src="/js/hexbug.js"></script>
<script type="text/javascript">
// Forward
$(document).bind('keydown', 'up', hexbug.forward);
// Reverse
$(document).bind('keydown', 'down', hexbug.reverse);
// Right
$(document).bind('keydown', 'right', hexbug.right);
// Left
$(document).bind('keydown', 'left', hexbug.left);
{% endif %}
<h1>Network Controlled Hex Bug</h1>
{% if hexbug_avaliable %}
<h2>The HexBug is Online!</h2>
{% else %}
<h2>The HexBug is Not Online</h2>
{% endif %}
<p>Use the arrow keys to control the HexBug</p>
Jump to Line
Something went wrong with that request. Please try again.