-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (41 loc) · 1.2 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
<!DOCTYPE html>
<html>
<head>
<title>Game of Life</title>
<script src="lib/p5.min.js" type="text/javascript"></script>
<script src="src/sketch.js" type="text/javascript"></script>
<script src="src/conway.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<div class="gameBox">
<div class="header"><h1>Game of Life - John Conway</h1></div>
<div class="info1">
<p>Click the board to Draw the pattern and Click Start</p>
</div>
<!-- <div class="info2">
<p>
Or Simple click start to see <span id="red">R-Pentomino Pattern</span>
</p>
</div> -->
<div class="tools">
<span id="button"
><button type="button" id="start" onclick="start()">
Start
</button></span
>
<span id="button"
><button type="button" id="pause" onclick="pause()">
Pause
</button></span
>
<span id="button"
><button type="button" id="reset" onclick="reset()">
Reset
</button></span
>
</div>
<div id="sketch-holder"></div>
</div>
</body>
</html>