forked from makersacademy/bowling-challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
132 lines (118 loc) · 4.27 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<script src="src/Scorecard.js"></script>
<script src="src/Frame.js"></script>
<script src="src/Frame10.js"></script>
<script src="jquery.js"></script>
<script src="Interface.js"></script>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="fonts.css">
<title>Bowling Scorecard</title>
</head>
<body>
<video autoplay muted loop id="video" src="videos/bowling-ambience.mp4" type="video/mp4"></video>
<div class="sheet">
<h1 id="title">Bowling Scorecard</h1>
<div id="help">
<p>Use the buttons below to record your score.</p>
</div>
<div id="controls">
<button id="ambience" class="button">ambience: <span>off</span></button>
<button id="reset" class="button">reset</button>
<button id="reset" class="button">
<a href="https://github.com/hturnbull93/bowling-challenge">GitHub Repo</a>
</button>
</div>
<div id="table">
<div id="name" class="side-box">
<div class="label">NAME</div>
<div id="name" class="field">the Dude</div>
</div>
<div id="frame0" class="frame">
<div class="number">1</div>
<div class="roll1"></div>
<div class="roll2"></div>
<div class="running-total"></div>
</div>
<div id="frame1" class="frame">
<div class="number">2</div>
<div class="roll1"></div>
<div class="roll2"></div>
<div class="running-total"></div>
</div>
<div id="frame2" class="frame">
<div class="number">3</div>
<div class="roll1"></div>
<div class="roll2"></div>
<div class="running-total"></div>
</div>
<div id="frame3" class="frame">
<div class="number">4</div>
<div class="roll1"></div>
<div class="roll2"></div>
<div class="running-total"></div>
</div>
<div id="frame4" class="frame">
<div class="number">5</div>
<div class="roll1"></div>
<div class="roll2"></div>
<div class="running-total"></div>
</div>
<div id="frame5" class="frame">
<div class="number">6</div>
<div class="roll1"></div>
<div class="roll2"></div>
<div class="running-total"></div>
</div>
<div id="frame6" class="frame">
<div class="number">7</div>
<div class="roll1"></div>
<div class="roll2"></div>
<div class="running-total"></div>
</div>
<div id="frame7" class="frame">
<div class="number">8</div>
<div class="roll1"></div>
<div class="roll2"></div>
<div class="running-total"></div>
</div>
<div id="frame8" class="frame">
<div class="number">9</div>
<div class="roll1"></div>
<div class="roll2"></div>
<div class="running-total"></div>
</div>
<div id="frame9" class="frame">
<div class="number">10</div>
<div class="roll1"></div>
<div class="roll2"></div>
<div class="roll3"></div>
<div class="running-total"></div>
</div>
<div id="total" class="side-box">
<div class="label">TOTAL</div>
<div id="grand-total" class="field"></div>
</div>
</div>
<div id="input">
<button id="0" value="0" class="button record">miss</button>
<button id="1" value="1" class="button record">1</button>
<button id="2" value="2" class="button record">2</button>
<button id="3" value="3" class="button record">3</button>
<button id="4" value="4" class="button record">4</button>
<button id="5" value="5" class="button record">5</button>
<button id="6" value="6" class="button record">6</button>
<button id="7" value="7" class="button record">7</button>
<button id="8" value="8" class="button record">8</button>
<button id="9" value="9" class="button record">9</button>
<button id="10" value="10" class="button record">strike</button>
<!-- <button value="spare" class="button record" disabled>spare</button> -->
</div>
</div>
</body>
</html>