forked from makersacademy/bowling-challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (79 loc) · 2.68 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
<link href="https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap" rel="stylesheet">
<script src="jquery.js"></script>
<script src="src/bowlingGame.js"></script>
<script src="src/interface.js"></script>
</head>
<body>
<h1 class="title">Bowling Score Card</h1>
<div id="buttons" class="buttons">
<button type="button" id="roll-0">O</button>
<button type="button" id="roll-1">1</button>
<button type="button" id="roll-2"">2</button>
<button type="button" id="roll-3">3</button>
<button type="button" id="roll-4">4</button>
<button type="button" id="roll-5">5</button>
<button type="button" id="roll-6">6</button>
<button type="button" id="roll-7">7</button>
<button type="button" id="roll-8">8</button>
<button type="button" id="roll-9"">9</button>
<button type="button" id="roll-10">10</button>
</div>
<div id='scorecard'>
<table id='scorecardTable' class='scorecard' cellpadding='1' cellspacing='0'>
<tr>
<th colspan='6'>Frame 1</th>
<th colspan='6'>Frame 2</th>
<th colspan='6'>Frame 3</th>
<th colspan='6'>Frame 4</th>
<th colspan='6'>Frame 5</th>
<th colspan='6'>Frame 6</th>
<th colspan='6'>Frame 7</th>
<th colspan='6'>Frame 8</th>
<th colspan='6'>Frame 9</th>
<th colspan='6'>Frame 10</th>
</tr>
<tr>
<td id="roll1" colspan='3'></td>
<td id="roll2" colspan='3'></td>
<td id="roll3" colspan='3'></td>
<td id="roll4" colspan='3'></td>
<td id="roll5"colspan='3'></td>
<td id="roll6" colspan='3'></td>
<td id="roll7"colspan='3'></td>
<td id="roll8" colspan='3'></td>
<td id="roll9"colspan='3'></td>
<td id="roll10" colspan='3'></td>
<td id="roll11"colspan='3'></td>
<td id="roll12" colspan='3'></td>
<td id="roll13"colspan='3'></td>
<td id="roll14" colspan='3'></td>
<td id="roll15"colspan='3'></td>
<td id="roll16" colspan='3'></td>
<td id="roll17"colspan='3'></td>
<td id="roll18" colspan='3'></td>
<td id="roll19"colspan='3'></td>
<td id="roll20" colspan='3'></td>
</tr>
<tr>
<td colspan='6' id="marker2"></td>
<td colspan='6' id="marker4"></td>
<td colspan='6' id="marker6"></td>
<td colspan='6' id="marker8"></td>
<td colspan='6' id="marker10"></td>
<td colspan='6' id="marker12"></td>
<td colspan='6' id="marker14"></td>
<td colspan='6' id="marker16"></td>
<td colspan='6' id="marker18"></td>
<td colspan='6' id="marker20"></td>
</tr>
</table>
</div>
<h1 id="comments" class="notice"></h1>
<h1 id="gameover" class="notice"></h1>
<h1 id="yourscore" class="final-score"></h1>
<div id="playagain"></div>
</body>