-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
executable file
·76 lines (58 loc) · 2.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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="viewport" content="user-scalable=no, width=device-width" />
<title>Pandemic Script</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-7542529-4']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="js/pandemic.js"></script>
</head>
<body>
<div id="game">
<div id="board">
</div>
<div onClick="drawPlayer();" class="button" id="draw_player">Draw Player Card</div>
<div onClick="drawInfection();" class="button" id="draw_infection">Draw Infection Card</div>
<div id="counters">
<div id="player_counter"><span class="count"></span></div>
<div id="infection_counter"><span class="count"></span></div>
<div id="reset"><span class="reset">Reset</span></div>
</div>
</div>
<div id="overlay">
<h4>Enter Seed #</h4>
<input type="text" id="seed" />
<h4>Number of Roles</h4>
<div>
<p>
<input type="radio" name="roles" value="2"> 2
<input type="radio" name="roles" value="3" checked> 3
<input type="radio" name="roles" value="4"> 4
<input type="radio" name="roles" value="5"> 5
</p>
</div>
<h4>Number of Infections</h4>
<div>
<p>
<input type="radio" name="infections" value="4" checked> 4
<input type="radio" name="infections" value="5"> 5
<input type="radio" name="infections" value="6"> 6
</p>
</div>
<input type="button" value="submit" id="seed_btn"/>
</div>
</body>
</html>