forked from pkoos/Game_Of_Life_webdev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (61 loc) · 2.95 KB
/
index.html
File metadata and controls
61 lines (61 loc) · 2.95 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="src/css/main.css">
<script src="src/main.js" type="module"></script>
<title>Conway's Game of Life</title>
</head>
<body>
<h1>Conway's Game of Life</h1>
<div class="allButtons">
<h2>Controls</h2>
<div class="buttonsGroup" id="testButtons">
<div class="shapesGroup">
<h4>Test Buttons</h4>
<button class="buttonClass" id="canvasTest">Canvas Test</button>
<button class="buttonClass" id="clearButton">Clear</button>
</div>
<div class="shapesGroup" id="otherButtons">
<h4>Game Buttons</h4>
<button class="buttonClass" id="savePosition">Save Position</button>
<button class="buttonClass" id="restorePosition">Restore Position</button>
<button class="buttonClass" id="nextGeneration">Next Generation</button>
</div>
<div class="shapesGroup" id="otherOtherButtons">
<h4>Debug Info Buttons</h4>
<button class="buttonClass" id="savedLivePixels">Live Pixels (Saved)</button>
<button class="buttonClass" id="currentLivePixels">Live Pixels (Current)</button>
</div>
</div>
<div class="buttonsGroup" id="defaultShapes">
<!-- <h3>Default Shapes</h3> -->
<div class="shapesGroup">
<h4>Still Shapes</h4>
<button class="buttonClass" id="shapeBlock">Block</button>
<button class="buttonClass" id="shapeBeehive">Beehive</button>
<button class="buttonClass" id="shapeLoaf">Loaf</button>
<button class="buttonClass" id="shapeBoat">Boat</button>
<button class="buttonClass" id="shapeTub">Tub</button>
</div>
<div class="shapesGroup">
<h4>Oscillators</h4>
<button class="buttonClass" id="shapeBlinker">Blinker</button>
<button class="buttonClass" id="shapeToad">Toad</button>
<button class="buttonClass" id="shapeBeacon">Beacon</button>
<button class="buttonClass" id="shapePulsar">Pulsar</button>
<button class="buttonClass" id="shapePenta-decathlon">Penta-decathlon</button>
</div>
<div class="shapesGroup">
<h4>Spaceships</h4>
<button class="buttonClass" id="shapeGlider">Glider</button>
<button class="buttonClass" id="shapeLWSS">Light-weight spaceship</button>
<button class="buttonClass" id="shapeMWSS">Middle-weight spaceship</button>
<button class="buttonClass" id="shapeHWSS">Heavy-weight spaceship</button>
</div>
</div>
</div>
<canvas id="CGoL_Board" width="1200" height="800"></canvas>
</body>
</html>