forked from oberhamsi/gameoflife-gamejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (28 loc) · 1019 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<% extends './skins/app.html' %>
<% subskin content %>
<p>
<button id="gof-playpause">play | pause</button>
<button id="gof-step">step >> </button>
<br/>
<button id="gof-clear">clear</button>
<button id="gof-random">random</button>
</p>
<canvas id="jsgamecanvas"></canvas>
<h3> Click the play button to start.</h3>
<h3> Smaller browser window for smaller and faster map.</h3>
<h1>Conway's Game of Life</h1>
<a href=http://github.com/oberhamsi/gameoflife-gamejs/>@github</a>
</p>
<script type="text/javascript">
(function() {
if (document.location.href.indexOf('localhost') != -1) return;
var stss = document.createElement('script');
stss.type = 'text/javascript';
stss.async = true;
stss.src = 'http://stats.nekapuzer.at/hit/?referer=' + escape(document.referrer) +
'&site=gamejs' +
'&random=' + (new Date()).getTime();
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(stss, s);
})();
</script>