/
index.html
30 lines (28 loc) · 968 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
<html>
<head>
<title>
Conway's Game Of Life
</title>
<link href="content/Site.css" rel="stylesheet" type="text/css" />
<script src="scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<link href="content/conways.css" rel="stylesheet" type="text/css" />
<script src="scripts/conways.js" type="text/javascript"></script>
</head>
<body>
<div id="main">
<script type="text/javascript">
$(document).ready(function () { initializeGrid(); });
</script>
<canvas id="canvas" width="702" height="702" style="margin-left: auto; margin-right: auto;
display: block;"></canvas>
<div id="buttonContainer" style="bottom: 50px; padding-left:43%;padding-top:20px;">
<button id="InitializeButton" onclick="initializeGrid(true)">
Randomize</button>
<button id="StartButton" onclick="StartLife()">
Start</button>
<button id="StopButton" onclick="StopLife()">
Stop</button>
</div>
</div>
</body>
</html>