-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjsGameOfLife.html
23 lines (23 loc) · 1010 Bytes
/
jsGameOfLife.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<title>Game of Life</title>
<meta charset="UTF-8">
<link rel="shortcut icon" href="http://media.tumblr.com/tumblr_m26sbdWzVU1r7yajm.gif">
<link rel="stylesheet" type="text/css" href="style.css">
<script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>
<script src = "http://code.jquery.com/jquery-latest.js"></script>
<script src = "jsGameOfLife.js"></script>
</head>
<body>
<p id = 'position'>0-0</p>
<span>
<input id = "inputRun" type = "button" value="Run!" onclick = "go()" />
<input type = "button" value = "Reset" onclick = "reset()" />
</span>
<p>Status: <span id = 'status' style = 'color:red;'>Stopped</span></p>
<p>Generation: <span id = 'generation'>0</span></p>
<a href="http://github.com/cesarvargas00/jsGameOfLife">github</a>
</div>
</body>
</html>