-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (68 loc) · 3.73 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Game of Life</title>
<link href="css/game.css" rel="stylesheet" type="text/css">
<script src="js/core.js" charset="utf-8"></script>
<script src="https://code.jquery.com/jquery-2.2.0.min.js" charset="utf-8"></script>
<!-- BOOTSTRAP -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="js/interface.js" charset="utf-8"></script>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Game of Life</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="https://github.com/pietrodn/gameoflife">GitHub</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">
<h1>Game of Life</h1>
<p class="lead">
This is a JavaScript implementation of <a href="https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life">Conway's Game of Life</a>.
</p>
<div id="Board">
</div>
<div id="Commands" class="form-inline">
<div class="form-group">
<button id="Start" class="btn btn-lg btn-success" type="button">Start!</button>
<button id="Clear" class="btn btn-lg btn-default" type="button">Reset</button>
<button id="Randomize" class="btn btn-lg btn-default" type="button">Random board</button>
</div>
<div id="TableSizeGroup" class="form-group">
<label for="TableSize">Table size: </label>
<input type="text" id="TableSize" class="form-control" size="4">
</div>
</div>
<div id="NumIterations" class="alert alert-success" role="alert">
Number of iterations: <span id="Counter">0</span>
</div>
</div><!-- /.container -->
<footer class="footer">
<div class="container">
<p class="text-muted">Made with love and care by <a href="https://github.com/pietrodn/">Pietro</a> and <a href="https://github.com/elekit">Eleonora</a>. <3</p>
</div>
</footer>
</body>
</html>