-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathgame.html
More file actions
265 lines (263 loc) · 16.1 KB
/
game.html
File metadata and controls
265 lines (263 loc) · 16.1 KB
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-128441061-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-128441061-1');
</script>
<title>GameProxy</title>
<link rel="shortcut icon" href="media/Small.png">
<script async src="https://arc.io/widget.min.js#iwkiQdav"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Mono|Material+Icons">
<link rel="stylesheet" href="lib/jquery-ui.css">
<link rel="stylesheet" href="style.css">
<script src="lib/showdown.min.js"></script>
<script src="lib/jquery.min.js"></script>
<script src="lib/jquery-ui.js"></script>
<script src="lib/jquery-ui-touch-punch.min.js"></script>
<meta name="theme-color" content="#6b29ef">
<link rel="apple-touch-icon" sizes="180x180" href="/media/apple-touch-icon.png">
<link rel="manifest" href="/media/site.webmanifest">
<link rel="mask-icon" href="/media/safari-pinned-tab.svg" color="#6b28ef">
<meta name="msapplication-TileColor" content="#9f00a7">
<meta name="msapplication-TileImage" content="/media/mstile-144x144.png">
<meta name="msapplication-config" content="/media/browserconfig.xml">
<script src="https://www.gstatic.com/firebasejs/5.5.4/firebase.js"></script>
<script>
var config = {
apiKey: "AIzaSyCgGrYsZ0R5Bg-Svoz4qh0CfcvGaG5xJNo",
authDomain: "gameproxy-web.firebaseapp.com",
databaseURL: "https://gameproxy-web.firebaseio.com",
projectId: "gameproxy-web",
storageBucket: "gameproxy-web.appspot.com",
messagingSenderId: "1085599545540",
appId: "1:1085599545540:web:5af7bc2297717b6449f191"
};
firebase.initializeApp(config);
</script>
<script src="script.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
<!-- Fixing the pound sign -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<a class="skipTo" href="#content">Skip to content</a>
<a class="skipTo" href="#footer">Skip to footer</a>
<header>
<span class="desktop">
<a href="/" title="Go to main page" class="headerButton logo">
<img src="media/Large.png" alt="GameProxy logo" id="headerLogo" />
</a>
</span>
<span class="mobile">
<a href="/" title="Go to main page" class="headerButton logo">
<img src="media/Small.png" alt="GameProxy logo" id="headerLogo" />
</a>
</span>
<div class="headerRight">
<a href="/" class="headerButton">Games</a>
<a href="chat.html" class="headerButton">Chat</a>
<a href="account" class="headerButton">Account</a>
</div>
</header>
<main id="content">
<h1><span class="gameName">Loading...</span><span title="This game has been verified by an admin." class="gameVerified"> <i class="material-icons">verified_user</i></span></h1>
<div id="gameLoader" class="loaderHolder"><i aria-label="Loading content..." class="material-icons loader">videogame_asset</i></div>
<div id="gameFrame" class="card center">
<p>
A game will eventually go here when we get time to implement it.
</p>
</div>
<div class="card coloured profile">
<div>
<a class="creatorProfileLink">
<img src="media/AnonUser.png" class="creatorAccountPicture floatLeft" />
</a>
</div>
<div class="floatLeft profileInfo">
<a class="hidden creatorProfileLink">
<strong class="creatorAccountName">Loading...</strong>
</a><br>
<span class="gameDate">Be patient!</span>
</div>
<div class="options">
<button class="secondary tempHidden editGameInfo" onclick="joinGameSession();"><span class="desktop">Join Group Game</span><i class="material-icons mobile">link</i></button><button class="secondary tempHidden editGameInfo" onclick="copyCurrentURL();"><span class="desktop">Copy Game URL</span><i class="material-icons mobile">link</i></button><button class="secondary tempHidden editGameInfo" onclick="showEditGameInfo();"><span class="desktop">Edit Info</span><i class="material-icons mobile">edit</i></button><button class="secondary creatorProfileButton" id="uploaderProfile"><span class="desktop">See Profile</span><i class="material-icons mobile">account_circle</i></button><button onclick="like();" title="Like this game" class="secondary" id="likeGameButton"><i class="material-icons">thumb_up</i> <span class="gameLikes">0</span></button>
</div>
</div>
<div class="card">
<div class="gameDescription">
<p class="center">Loading...</p>
</div>
<div class="center">
<button onclick="showMoreDescription();" class="gameSeeMore">See more...</button>
</div>
</div>
<div class="card" id="attributionDiv">
<strong>Attribution: </strong><a class="gameAttribution" target="_blank" id="gameAttribution">Loading...</a>
</div>
<div class="card">
<strong>Category: </strong><span class="gameCategory">Loading...</span>
</div>
<div class="card coloured admin">
<h3>Admin Options</h3>
<p>Select an option for game verification or <a href="javascript:$('.admin').fadeOut(500);" class="footer">temporarially hide admin functionality</a>.</p>
<button onclick="window.location.href = 'admin';" class="secondary"><i class="material-icons button">supervised_user_circle</i> Admin Console</button><button onclick="verifyGame();" class="secondary verifyButton"><i class="material-icons button">verified_user</i> Verify</button><button onclick="editGameAttribution();" class="secondary editAttributionButton"><i class="material-icons button">supervised_user_circle</i> Edit Attribution</button><button onclick="deleteGame();" class="reallyBad"><i class="material-icons button">delete</i> Delete Game</button>
</div>
<div class="card adBox">
<div class="adContainer center">
<!-- <div class="desktop">
<script type="text/javascript">
atOptions = {
'key' : '65e3140ae495440d8b9f4e8904abc3f7',
'format' : 'iframe',
'height' : 60,
'width' : 468,
'params' : {}
};
document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://www.bcloudhost.com/65e3140ae495440d8b9f4e8904abc3f7/invoke.js"></scr' + 'ipt>');
</script>
</div> -->
<!-- <div> class="mobile"
<strong>Ads coming soon to a screen near you!</strong><br>
We're currently testing ads on your device. If you want to support us, donate! If you would not like to donate, please consider
sharing GameProxy as we really want to grow and reach large audiences with our product.<br>
<button onclick="window.location.href = 'helpUs';">Donate</button>
<button onclick="window.location.href = 'share.html';">Share</button>
</div> -->
<img class="ad" />
</div>
<a href="/help/?article=0007-aboutAds" target="_blank" title="Learn more about this ad" aria-label="Learn more about this ad"><div class="adIcon">Ad</div></a>
</div>
<div class="card">
<textarea placeholder="Write a comment..." id="commentBox"></textarea>
<div class="right">
<button onclick="postComment();" class="postComment">Post</button>
</div>
</div>
<div id="commentsList"></div>
</main>
<div class="corner" id="gameFullscreenOptions">
<button onclick="toggleFullscreenControls();" id="gameFullscreenOptionsHandle"><i class="material-icons button">chevron_right</i></button>
<span id="gameFullscreenOptionsButtons">
<span class="desktop"><button onclick="toggleStreamingOptions();" class="proOnly" id="gameStreamingOptionsButton"><i class="material-icons button">center_focus_strong</i> Streaming Options</button></span>
<button onclick="fullscreen(false);"><i class="material-icons button">fullscreen_exit</i> Exit Fullscreen</button>
</span>
</div>
<div class="streaming" id="streamingWindow">
<div id="streamingWindowTitle">Streaming Options</div>
<div id="streamingWindowContent">
<label>
<input type="checkbox" role="switch" onchange="toggleStreamingDisplay();" class="streamingSwitch"><span class="streamingSwitchStatus">Streaming display is off</span>
</label>
<p>Select some display elements to show for the streaming display.</p>
<h2>Top-left</h2>
<label class="property">
<span>Display element</span>
<select onchange="setStreamingDisplayPanels();" class="streamingElementTL">
<option val="none">None</option>
<option val="text">Text</option>
<option val="image">Image</option>
<option val="gpLikes">GameProxy Likes</option>
<option val="gpComments">GameProxy Comments Feed</option>
<option val="ytSubs">YouTube Subscribers</option>
<option val="ytViews">YouTube Views</option>
<option val="ytWatching">YouTube Watching</option>
<option val="twitchSubs">Twitch Followers</option>
<option val="twitchViews">Twitch Views</option>
<option val="twitchWatching">Twitch Watching</option>
<option val="https">HTTPS Request</option>
<option val="js">JavaScript</option>
</select>
</label>
<div class="streamingElementOptionsTL"></div>
<h2>Top-right</h2>
<label class="property">
<span>Display element</span>
<select onchange="setStreamingDisplayPanels();" class="streamingElementTR">
<option val="none">None</option>
<option val="text">Text</option>
<option val="image">Image</option>
<option val="gpLikes">GameProxy Likes</option>
<option val="gpComments">GameProxy Comments Feed</option>
<option val="ytSubs">YouTube Subscribers</option>
<option val="ytViews">YouTube Views</option>
<option val="ytWatching">YouTube Watching</option>
<option val="twitchSubs">Twitch Followers</option>
<option val="twitchViews">Twitch Views</option>
<option val="twitchWatching">Twitch Watching</option>
<option val="https">HTTPS Request</option>
<option val="js">JavaScript</option>
</select>
</label>
<div class="streamingElementOptionsTR"></div>
<h2>Bottom-left</h2>
<label class="property">
<span>Display element</span>
<select onchange="setStreamingDisplayPanels();" class="streamingElementBL">
<option val="none">None</option>
<option val="text">Text</option>
<option val="image">Image</option>
<option val="gpLikes">GameProxy Likes</option>
<option val="gpComments">GameProxy Comments Feed</option>
<option val="ytSubs">YouTube Subscribers</option>
<option val="ytViews">YouTube Views</option>
<option val="ytWatching">YouTube Watching</option>
<option val="twitchSubs">Twitch Followers</option>
<option val="twitchViews">Twitch Views</option>
<option val="twitchWatching">Twitch Watching</option>
<option val="https">HTTPS Request</option>
<option val="js">JavaScript</option>
</select>
</label>
<div class="streamingElementOptionsBL"></div>
<h2>Bottom-right</h2>
<label class="property">
<span>Display element</span>
<select onchange="setStreamingDisplayPanels();" class="streamingElementBR">
<option val="none">None</option>
<option val="text">Text</option>
<option val="image">Image</option>
<option val="gpLikes">GameProxy Likes</option>
<option val="gpComments">GameProxy Comments Feed</option>
<option val="ytSubs">YouTube Subscribers</option>
<option val="ytViews">YouTube Views</option>
<option val="ytWatching">YouTube Watching</option>
<option val="twitchSubs">Twitch Followers</option>
<option val="twitchViews">Twitch Views</option>
<option val="twitchWatching">Twitch Watching</option>
<option val="https">HTTPS Request</option>
<option val="js">JavaScript</option>
</select>
</label>
<div class="streamingElementOptionsBR"></div>
</div>
</div>
<div data-streaming-display-effect="false" class="streamingDisplayPanel streamingDisplayT">
<div class="streamingDisplayElement streamingDisplayElementL streamingDisplayElementTL">TL</div>
<div class="streamingDisplayElement streamingDisplayElementR streamingDisplayElementTR">TR</div>
</div>
<div data-streaming-display-effect="false" class="streamingDisplayPanel streamingDisplayB">
<div class="streamingDisplayElement streamingDisplayElementL streamingDisplayElementBL">BL</div>
<div class="streamingDisplayElement streamingDisplayElementR streamingDisplayElementBR">BR</div>
</div>
<img class="fullscreenWatermark" src="media/Large.png" alt="GameProxy logo watermark" />
<div class="dialogBackground"></div>
<div class="dialog">
Hi!
</div>
<footer import="/footer.html" id="footer"></footer>
<script src="profanityFilter.js"></script>
<script src="staffList.js"></script>
<script src="gpProList.js"></script>
<script src="account.js"></script>
<script src="game.js"></script>
<script src="ads/adsList.js"></script>
<script src="ads.js"></script>
<script src="pro/pro.js"></script>
<script src="pro/streaming.js"></script>
</body>
</html>