-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (47 loc) · 3.58 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
<head>
<title>Yahtzee</title>
<link rel='stylesheet' type='text/css' href='yahtzee.css'>
<link rel="shortcut icon" type="image/png" href="favicon.png"/>
<script src="jquery-3.2.1.min.js"></script>
</head>
<body>
<div id='game'>
<div class='diceContainer'>
<div class='dice'>
<div class='die free waiting'></div>
<div class='die free waiting'></div>
<div class='die free waiting'></div>
<div class='die free waiting'></div>
<div class='die free waiting'></div>
</div>
<button id='roll'>Roll!</button>
</div>
<div class='scoreboardContainer'>
<table class='scoreboard'>
<tbody>
<tr class='upperRow' id='ones'><th>1s</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='upperRow' id='twos'><th>2s</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='upperRow' id='threes'><th>3s</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='upperRow' id='fours'><th>4s</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='upperRow' id='fives'><th>5s</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='upperRow' id='sixes'><th>6s</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='totals' id='upperTotals'><th>Upper Totals</th><td class='totalCell'>0</td><td class='totalCell'>0</td><td class='totalCell'>0</td></tr>
<tr class='bonus' id='bonus'><th>Bonus</th><td class='bonusCell'>0</td><td class='bonusCell'>0</td><td class='bonusCell'>0</td></tr>
<tr class='lowerRow' id='threeofakind'><th>3 of a Kind</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='lowerRow' id='fourofakind'><th>4 of a Kind</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='lowerRow' id='fullhouse'><th>Full House</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='lowerRow' id='smallstraight'><th>Small Straight</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='lowerRow' id='largestraight'><th>Large Straight</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='lowerRow' id='yahtzee'><th>Yahtzee!</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='lowerRow' id='chance'><th>Chance</th><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td><td class='scoreCell free waiting'></td></tr>
<tr class='totals' id='totals'><th>Totals</th><td class='totalCell' title="1.25x">0</td><td class='totalCell' title="1.0x">0</td><td class='totalCell' title="0.75x">0</td><td class='totalCell' id='totalTotal'>0</td></tr>
</tbody>
</table>
<button id='undo' class='hidden'>Undo</button>
</div>
</div>
<table id='highscores'>
<tbody></tbody>
</table>
<script src='yahtzee.js'></script>
</body>