This repository has been archived by the owner on May 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (58 loc) · 2.03 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
<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" type="text/css" href="style.css" />
<head>
<meta charset="UTF-8" />
<title>Conway's Game of Life</title>
</head>
<body>
<div id="pageWrapper">
<div id="gameOfLife">
<div id="gameName">
<span>Game</span>
<span>of</span>
<span>Life</span>
</div>
<table id="gameTable"></table>
</div>
<div id="buttonWrapper">
<input id="stepButton" class="button" type="button" value="STEP" />
<input id="clearButton" class="button" type="button" value="CLR" onclick="clearScreen()" />
</div>
<div id="personalCredits">
<p>my name is</p>
<span class="left">reece</span>
<span>holmdahl</span>
<a href="https://github.com/reeceholmdahl/gameoflife">github here</a>
</div>
</div>
<button id="settingsButton" class="button">
<img id="cogImg" src="img/cog.png" />
</button>
<div id="settingsWrapper" class="closed">
<div id="optionsContainer">
<form id="sizeAdjust" class="hide">
<h1>grid size adjustment</h1>
<label for="horizontalSize">horizontal grid size</label>
<input id="horizontalSize" type="text" />
<label for="verticalSize">vertical grid size</label>
<input id="verticalSize" type="text" />
<input id="rebuildTable" class="button" type="button" value="rebuild table" />
<input id="resetButton" class="button" type="button" onclick="resetGame()" value="reset" />
</form>
<form id="autoStep" class="hide">
<h1>auto step settings</h1>
<label for="msPerAutoStep">milliseconds per auto step</label>
<input id="msPerAutoStep" type="text" />
<label for="delayBeforeAutoStep">delay (in ms) before auto stepping begins</label>
<input id="delayBeforeAutoStep" type="text" />
</form>
<form id="seedOptions" class="hide">
<h1>seed save & load</h1>
<p>Nothing here yet, more to come soon!</p>
</form>
</div>
</div>
</body>
<script src="new_script.js"></script>
</html>