-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (57 loc) · 2.02 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html>
<head>
<title> Conway's Game of Life </title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link href='http://fonts.googleapis.com/css?family=Signika:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="horizon">
</div>
<div class="container">
<nav>
<h1> Conway's Game of Life <h1>
<h4> Solution and visualization written by Ben Patterson Twitter: @BenRuns Github: BenRuns </h4>
<h5> For more information see the <a href="http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life"> wikipedia article </a> </h5>
<ul>
<a href="https://github.com/BenRuns/game_of_life_js"> <li> Code </li></a>
<a href="http://benpatterson.io/"> <li> My website</li></a>
<a href="mailto:benthomaspatterson@gmail.com"> <li> Contact me </li></a>
</ul>
</nav>
<div class="dashboard" draggable="true">
<input type="number" id="cells" value=1000 >
<button type="button" id="add_cells" >
Seed
</button>
<br>
<button type="button" id="start" >
Start
</button>
<button type="button" id="stop" >
Stop
</button>
<div id="population">0 cells </div>
<div id="iteration"> 0 iterations </div>
<button type="button" id="clear" >
clear
</button>
</div>
<div id="test_id">
<div >
</div>
</div>
</div>
</body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-57134227-1', 'auto');
ga('send', 'pageview');
</script>
<script type="text/javascript" src="js/script.js"></script>
</html>