-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
96 lines (92 loc) · 3.84 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Cribbage</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="img/png" href="img/icon128x128.jpeg">
</head>
<body>
<div id="container">
<div id="pegboard">
<div id="rowtop" class="pegsection">
<div id="winbox"></div>
<div id="p1toprow" class="peghole pegrow"></div>
<div id="p2toprow" class="peghole pegrow"></div>
</div>
<div id="rowuppermid" class="pegsection">
<div id="p1upmidrow" class="peghole pegrow"></div>
<div id="p2upmidrow" class="peghole pegrow"></div>
</div>
<div id="rowmiddle" class="pegsection">
<div id="p1midrow" class="peghole pegrow"></div>
<div id="p2midrow" class="peghole pegrow"></div>
</div>
<div id="rowbottom">
<div id="p1btrow" class="peghole pegrow"></div>
<div id="p2btrow" class="peghole pegrow"></div>
</div>
</div>
<div id="scoreDisplay">
<div id="p1score" class="text">
<p>Player 1 score:</p>
</div>
<div id="instruction" class="text">
<p>Click the deck to see who goes first</p>
</div>
<div id="p2score" class="text">
<p>Player 2 score:</p>
</div>
</div>
<div id="playarea">
<div id="upper" class="text">
<p></p>
<div id="cribhome">
<div id="crib0" class="cardbox"></div>
<div id="crib1" class="cardbox"></div>
<div id="crib2" class="cardbox"></div>
<div id="crib3" class="cardbox"></div>
</div>
<div id="communitycard" class="cardbox"></div>
<div id="deckspot" class="cardbox"></div>
</div>
<div id="cardsplayed" class="text">
<p></p>
<div id="cp0" class="cardbox"></div>
<div id="cp1" class="cardbox"></div>
<div id="cp2" class="cardbox"></div>
<div id="cp3" class="cardbox"></div>
<div id="cp4" class="cardbox"></div>
<div id="cp5" class="cardbox"></div>
<div id="cp6" class="cardbox"></div>
<div id="cp7" class="cardbox"></div>
</div>
<div id="cardrow">
<div id="player1cards">
<div id="p1c0" class="cardbox"></div>
<div id="p1c1" class="cardbox"></div>
<div id="p1c2" class="cardbox"></div>
<div id="p1c3" class="cardbox"></div>
<div id="p1c4" class="cardbox"></div>
<div id="p1c5" class="cardbox"></div>
</div>
<div id="player2cards">
<div id="p2c5" class="cardbox"></div>
<div id="p2c4" class="cardbox"></div>
<div id="p2c3" class="cardbox"></div>
<div id="p2c2" class="cardbox"></div>
<div id="p2c1" class="cardbox"></div>
<div id="p2c0" class="cardbox"></div>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script type="text/javascript" src="combinatorics.js"></script>
<script type="text/javascript" src="main.js"></script>
<script type="text/javascript" src="drawactions.js"></script>
<script type="text/javascript" src="playeractions.js"></script>
<script type="text/javascript" src="computeractions.js"></script>
<script type="text/javascript" src="score.js"></script>
</body>
</html>