-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
147 lines (132 loc) · 6.35 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/main.css"/>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.js"></script>
<script src="https://kit.fontawesome.com/248b92e2d1.js" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css?family=Rubik|Sacramento&display=swap" rel="stylesheet">
<script type="text/javascript" src="js/index.js"></script>
<style type="text/css" media="print">
@page { size: landscape; }
</style>
</head>
<body class="print-change">
<div style="display: none;" id="content" class="print-change">
<!-- Home Page -->
<div class="page" id="homePage">
<h1 class="header"> </h1>
<div class="start-menu-text">The Sustainability Game</div>
<div class="start-menu-buttons">
<button onclick="showInstructions();" class="start-menu-button">How to Play</button>
<button onclick="startGame();" class="start-menu-button">Let's Go!</button>
</div>
</div>
<!-- Living Room -->
<div class="page" style="display: none;" id="livingRoom">
<h1 class="header">Living Room</h1>
<div class="map"></div>
<div class="score-display">
<div class="score-label"><span class="fa fa-trophy"></span> Score:</div>
<div class="score">15000</div>
<button class="end-game">End Game</button>
</div>
</div>
<!-- Office -->
<div class="page" style="display: none;" id="office">
<h1 class="header">Office</h1>
<div class="map"></div>
<div class="score-display">
<div class="score-label"><span class="fa fa-trophy"></span> Score:</div>
<div class="score">15000</div>
<button class="end-game">End Game</button>
</div>
</div>
<!-- Bathroom -->
<div class="page" style="display: none;" id="bathroom">
<h1 class="header">Bathroom</h1>
<div class="map"></div>
<div class="score-display">
<div class="score-label"><span class="fa fa-trophy"></span> Score:</div>
<div class="score">15000</div>
<button class="end-game">End Game</button>
</div>
</div>
<!-- Bedroom -->
<div class="page" style="display: none;" id="bedroom">
<h1 class="header">Bedroom</h1>
<div class="map"></div>
<div class="score-display">
<div class="score-label"><span class="fa fa-trophy"></span> Score:</div>
<div class="score">15000</div>
<button class="end-game">End Game</button>
</div>
</div>
<!-- Kitchen -->
<div class="page" style="display: none;" id="kitchen">
<h1 class="header">Kitchen</h1>
<div class="map"></div>
<div class="score-display">
<div class="score-label"><span class="fa fa-trophy"></span> Score:</div>
<div class="score">15000</div>
<button class="end-game">End Game</button>
</div>
</div>
<!-- Garage -->
<div class="page" style="display: none;" id="garage">
<h1 class="header">Garage</h1>
<div class="map"></div>
<div class="score-display">
<div class="score-label"><span class="fa fa-trophy"></span> Score:</div>
<div class="score">15000</div>
<button class="end-game">End Game</button>
</div>
</div>
<!-- Backyard -->
<div class="page" style="display: none;" id="backyard">
<h1 class="header">Backyard</h1>
<div class="map"></div>
<div class="score-display">
<div class="score-label"><span class="fa fa-trophy"></span> Score:</div>
<div class="score">15000</div>
<button class="end-game">End Game</button>
</div>
</div>
<!-- Garden -->
<div class="page" style="display: none;" id="garden">
<h1 class="header">Garden</h1>
<div class="map"></div>
<div class="score-display">
<div class="score-label"><span class="fa fa-trophy"></span> Score:</div>
<div class="score">15000</div>
<button class="end-game">End Game</button>
</div>
</div>
<!-- Hallway -->
<div class="page" style="display: none;" id="hallway">
<h1 class="header">Hallway</h1>
<div class="map"></div>
<div class="score-display">
<div class="score-label"><span class="fa fa-trophy"></span> Score:</div>
<div class="score">15000</div>
<button class="end-game">End Game</button>
</div>
</div>
<!-- End Screen -->
<div class="page" style="display: none;" id="endGame">
<div class="end-menu-text">Thanks for playing!</div>
<div class="end-menu-desc">You scored <span class="score"></span> points and earned a <span class="trophy-type">bronze</span> trophy!</div>
<div class="end-menu-trophy"><i class="fa fa-trophy end-trophy color-bronze"></i></div>
<div class="end-menu-desc trophy-desc">You explored the house to find different ways to live sustainably. Unfortunately, you did not find all of the sources of sustainability. Click "Play Again!" to try and find the things you missed!</div>
<div class="start-menu-buttons print-hide">
<button onclick="changeToRoom('homePage');" class="start-menu-button">Play Again!</button>
<button onclick="printCertificate();" class="start-menu-button">Print Certificate</button>
</div>
<div class="end-menu-text print-show" style="display: none;">The Sustainability Game</div>
</div>
<!-- Score Flyer -->
<div class="score-flyer">+100</div>
</div>
</body>
</html>