forked from Ryan-7/Cosmic-Cricket-Darts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
165 lines (148 loc) · 7.12 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<html>
<head>
<title>Darts.io</title>
</head>
<body class="game-over">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="animate.css">
<!-- Player Select Modal -->
<div class="player-select">
<img src="images/logo.svg" style="width: 400px; padding-top: 50px;" class="center-block text-align">
<h2>Select Number of Players</h2>
<h1 class="player-select-num">1</h1>
</div>
<!-- Win Modal -->
<div class="win-message hidden">
<img src="images/logo.svg" style="width: 400px; padding-top: 50px;" class="center-block text-align">
<p id="winner">Game Over</p>
<h2>Press Play for a new game</h2>
</div>
<!-- Undo Modal -->
<div class="undo-modal hidden">
<img src="images/logo.svg" style="width: 400px; padding-top: 50px;" class="center-block text-align">
<div class="undo-content">
<h2>Press <span class="bright-color">Undo</span> to reset last turn</h2>
<h2>Press <span class="bright-color">Play</span> to cancel and resume</h2>
</div>
</div>
<!-- Dartboard -->
<div class="container">
<div class="row">
<div class="col-xs-3 player-box player-active" id="player-box-1">
<h1>Player 1</h1>
<p id="player-1" class="score">0</p>
</div>
<div class="col-xs-6 text-center">
<object data="images/logo.svg" type="image/svg+xml" class="logo" id="main-logo"></object>
</div>
<div class="col-xs-3 player-box" id="player-box-2">
<h1>Player 2</h1>
<p id="player-2" class="score">0</p>
</div>
</div>
<div class="row">
<div class="col-xs-3" style="padding: 0;">
<div class="player-box" id="player-box-3">
<h1>Player 3</h1>
<p id="player-3" class="score">0</p>
</div>
<div class="stats">
<h3>Throws Remaining</h3>
<h2 id="throws-left">3</h2>
</div>
</div>
<div class="col-xs-6 text-center">
<table style="width: 100%" id="tab">
<tr>
<th id="player-1-header">P1</th>
<th id="player-2-header">P2</th>
<th></th>
<th id="player-3-header">P3</th>
<th id="player-4-header">P4</th>
</tr>
<tr id="20">
<td><span></span></td>
<td><span></span></td>
<td>20</td>
<td><span></span></td>
<td><span></span></td>
</tr>
<tr id="19">
<td><span></span></td>
<td><span></span></td>
<td>19</td>
<td><span></span></td>
<td><span></span></td>
</tr>
<tr id="18">
<td><span></span></td>
<td><span></span></td>
<td>18</td>
<td><span></span></td>
<td><span></span></td>
</tr>
<tr id="17">
<td><span></span></td>
<td><span></span></td>
<td>17</td>
<td><span></span></td>
<td><span></span></td>
</tr>
<tr id="16">
<td><span></span></td>
<td><span></span></td>
<td>16</td>
<td><span></span></td>
<td><span></span></td>
</tr>
<tr id="15">
<td><span></span></td>
<td><span></span></td>
<td>15</td>
<td><span></span></td>
<td><span></span></td>
</tr>
<tr id="25">
<td><span></span></td>
<td><span></span></td>
<td>BULL</td>
<td><span></span></td>
<td><span></span></td>
</tr>
</table>
<!-- <table class="previous-throw-info">
<td>Triple 20</td>
<td>Miss</td>
<td>Double Bull</td>
</table> -->
</div>
<div class="col-xs-3 player-box" id="player-box-4">
<h1>Player 4</h1>
<p id="player-4" class="score">0</p>
</div>
</div>
<!-- Only used for development, keep around for debugging
<div class="controls">
<button class="btn btn-primary" id="twenty">20</button>
<button class="btn btn-primary" id="nineteen">19</button>
<button class="btn btn-small btn-primary" id="eighteen">18</button>
<button class="btn btn-small btn-primary" id="seventeen">17</button>
<button class="btn btn-small btn-primary" id="sixteen">16</button>
<button class="btn btn-small btn-primary" id="fifteen">15</button>
<button class="btn btn-small btn-primary" id="bull-button">BULL</button>
<br>
<button class="btn btn-small btn-primary" id="single"> Single</button>
<button class="btn btn-small btn-primary" id="double">double</button>
<button class="btn btn-small btn-primary" id="triple">triple</button>
<button class="btn btn-small btn-primary" id="miss">Miss</button>
<button class="btn btn-small btn-primary" id="playerSelection"># of Players</button>
<button class="btn btn-small btn-primary" id="play-game-button">Play</button>
<button class="btn btn-small btn-primary" id="undo-button">Undo</button>
</div>
-->
</div>
</body>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="app.js"></script>
</html>