forked from hillc255/TriangleGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (46 loc) · 1.44 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Triangle Peg Game</title>
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<div id="board">
<div class="wrapper">
<div id="row-1a"></div>
<div class="row" data-row=1>
<div class="circle" data-id=0></div>
</div>
<div class="row" data-row=2>
<div class="circle" data-id=1></div>
<div class="circle" data-id=2></div>
</div>
<div class="row" data-row=3>
<div class="circle" data-id=3></div>
<div class="circle" data-id=4></div>
<div class="circle" data-id=5></div>
</div>
<div class="row" data-row=4>
<div class="circle" data-id=6></div>
<div class="circle" data-id=7></div>
<div class="circle" data-id=8></div>
<div class="circle" data-id=9></div>
</div>
<div class="row" data-row=5>
<div class="circle" data-id=10></div>
<div class="circle" data-id=11></div>
<div class="circle" data-id=12></div>
<div class="circle" data-id=13></div>
<div class="circle" data-id=14></div>
</div>
</div>
</div>
<button id="reset" class="hidden">Reset</button>
<details id="debug" hidden>
<summary>Debug</summary>
<div id='available-moves'></div>
</details>
<script src="dist/bundle.js" defer></script>
</body>
</html>