-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (38 loc) · 1.34 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Bugger up your buddy</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<script src="out/lib.js"></script>
<script src="out/hand.js"></script>
<script src="out/player.js"></script>
<script src="out/game.js"></script>
<script src="out/index.js"></script>
</head>
<body onload="bodyOnload();">
<div id='playerNumbers' class='visible'>
<input name="numPlayers" type="number" id='numPlayers' max='10' min='3' onchange="calculateCards(this);" />
<input name="numCards" type="number" id="numCards" max="17" />
<button id='namePlayers' onclick="execNamePlayers();">Name Players</button>
</div>
<div id='playerNames' class='invis'>
<div id='nameInputs'></div>
<div id='nameButton'>
<button onclick="drawBoard();">Draw board</button>
</div>
</div>
<div id='scoreTable' class='invis'>
<table id='score'>
<thead>
<tr id="header">
<th colspan=3>Hand</th>
</tr>
<tr id="subHeader"></tr>
</thead>
</table>
</div>
</body>
</html>