-
Notifications
You must be signed in to change notification settings - Fork 9
/
arcade.html
247 lines (208 loc) · 11.8 KB
/
arcade.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
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
<!DOCTYPE html>
<html itemscope itemtype="http://schema.org/Article">
<head>
<title>Cryptris</title>
<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="Cryptris - Un jeu sur la cryptographie asymétrique">
<meta itemprop="description" content="Découvrez l'univers de la cryptographie: jouez contre l’ordinateur pour savoir qui arrivera à décrypter le plus rapidement. De nombreux défis vous attendent, êtes-vous prêts ?">
<meta itemprop="image" content="http://inriamecsci.github.io/cryptris/img/cryptis-social-preview-600x600.png">
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@Inria">
<meta name="twitter:title" content="Cryptris">
<meta name="twitter:description" content="Découvrez l'univers de la cryptographie: jouez contre l’ordinateur pour savoir qui arrivera à décrypter le plus rapidement.">
<meta name="twitter:creator" content="@digital_cuisine">
<!-- Twitter summary card with large image must be at least 280x150px -->
<meta name="twitter:image:src" content="http://inriamecsci.github.io/cryptris/img/cryptis-social-preview-800x420.png">
<!-- Open Graph data -->
<meta property="og:title" content="Cryptris - Un jeu sur la cryptographie asymétrique" />
<!--<meta property="og:type" content="article" />-->
<meta property="og:url" content="http://inriamecsci.github.io/cryptris/" />
<meta property="og:image" content="http://inriamecsci.github.io/cryptris/img/cryptis-social-preview-1200x630.png" />
<meta property="og:description" content="Découvrez l'univers de la cryptographie: jouez contre l’ordinateur pour savoir qui arrivera à décrypter le plus rapidement. De nombreux défis vous attendent, êtes-vous prêts ?" />
<meta property="og:site_name" content="Cryptris" />
<meta property="article:published_time" content="2014-05-12T11:39:00+01:00" />
<meta property="article:modified_time" content="2014-05-12T11:39:00+01:00" />
<!--<meta property="fb:admins" content="Facebook numberic ID" />-->
<meta name="viewport" content="" id="viewport"/>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-title" content="Cryptris">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="img/apple-touch-icon.png" />
<link rel="apple-touch-icon" sizes="57x57" href="img/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="img/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="img/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="144x144" href="img/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="60x60" href="img/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon" sizes="120x120" href="img/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="76x76" href="img/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="152x152" href="img/apple-touch-icon-152x152.png" />
<link href="img/apple-touch-startup-image-320x460.png"
media="(device-width: 320px) and (device-height: 480px)
and (-webkit-device-pixel-ratio: 1)"
rel="apple-touch-startup-image">
<link href="img/apple-touch-startup-image-640x920.png"
media="(device-width: 320px) and (device-height: 480px)
and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image">
<link href="img/apple-touch-startup-image-640x1096.png"
media="(device-width: 320px) and (device-height: 568px)
and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image">
<link href="img/apple-touch-startup-image-768x1004.png"
media="(device-width: 768px) and (device-height: 1024px)
and (orientation: portrait)
and (-webkit-device-pixel-ratio: 1)"
rel="apple-touch-startup-image">
<link href="img/apple-touch-startup-image-748x1024.png"
media="(device-width: 768px) and (device-height: 1024px)
and (orientation: landscape)
and (-webkit-device-pixel-ratio: 1)"
rel="apple-touch-startup-image">
<link href="img/apple-touch-startup-image-1536x2008.png"
media="(device-width: 768px) and (device-height: 1024px)
and (orientation: portrait)
and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image">
<link href="img/apple-touch-startup-image-1496x2048.png"
media="(device-width: 768px) and (device-height: 1024px)
and (orientation: landscape)
and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image">
<!-- Css -->
<link href="css/fonts.css" rel="stylesheet" media="screen">
<link href="css/cryptris.css" rel="stylesheet" media="screen">
<link href="vendor/stats.css" rel="stylesheet" media="screen">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="vendor/html5shiv.js"></script>
<script src="vendor/respond.min.js"></script>
<![endif]-->
<!--LOAD EXTERNAL JS FILE-->
<script type="text/javascript" src="./vendor/dat.gui.min.js"></script>
<script type="text/javascript" src="./vendor/caat.js"></script>
<script src="vendor/jquery-1.10.2.min.js"></script>
<script src="vendor/jquery.jrumble.1.3.min.js"></script>
<script src="vendor/d3.v3.min.js"></script> <!-- load the d3.js library -->
<script src="vendor/stats.min.js"></script>
<!--LOAD CUSTOM JS FILE-->
<script type="text/javascript" src="./js/prototype-additions.js"></script>
<script type="text/javascript" src="./js/cryptris-settings.js"></script>
<script type="text/javascript" src="./js/game_engine/global.js"></script>
<script type="text/javascript" src="./js/game_engine/game.js"></script>
<script type="text/javascript" src="./js/game_engine/controls.js"></script>
<script type="text/javascript" src="./js/game_engine/game_box.js"></script>
<script type="text/javascript" src="./js/game_engine/info_column.js"></script>
<script type="text/javascript" src="./js/game_engine/message_columns.js"></script>
<script type="text/javascript" src="./js/game_engine/key_columns.js"></script>
<script type="text/javascript" src="./js/game_engine/ia.js"></script>
<script type="text/javascript" src="./js/scenes/create_key_scene.js"></script>
<script type="text/javascript" src="./js/scenes/play_scene.js"></script>
<script src="js/preloaded_images.js"></script>
<script type="text/javascript" src="./js/arcade.js"></script>
<script src="js/viewport.js"></script>
<script src="js/mobile-detection.js"></script>
<script src="js/type-letter-by-letter.js"></script>
<script src="js/selectable-list.js"></script>
<script src="js/dialog.js"></script>
<script src="js/switch-wrapper.js"></script>
<script src="js/arcade-dialogs.js"></script>
<script src="js/scene-arcade.js"></script>
<script src="js/entangled-cables.js"></script>
<script src="js/keyboard-nav.js"></script>
</head>
<body class="">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', cryptrisSettings.appAnalyticsId);
ga('send', 'pageview');
</script>
<div class="main-wrapper">
<div class="wrapper black hidden" id='new-login'>
<div class="vertical-centering">
<img src='img/logo-inria-pixelated.png' class="logo-inria-pixelated">
<form class="new-login" action="" method="get">
<label for="login">Choisissez votre nom d’utilisateur :</label>
<fieldset>
<span class="arrow">▶</span>
<input type="text" id="login-name" name="name">
<input type="submit" class="button blue" value="OK">
</fieldset>
</form>
<div class="inrios">InriOS 3.14</div>
</div>
</div>
<div id="menu-view" class="wrapper bg-circuits active">
<div class="animation">
<div class="layer-00 blinking-smooth-1"></div>
<div class="layer-01 blinking-smooth-2"></div>
<div class="layer-02 blinking-smooth-3"></div>
<div class="layer-03 blinking-smooth-4"></div>
</div>
<div class="vertical-centering">
<img class="cryptris-logo-large" src="img/logo-cryptris-large.png">
<div>
<ul class="main-menu selectable">
<li id="item-public-key">
<a id="link-public-key" href="#"><span class="arrow">▶</span>Création des clés<span class="arrow">◀</span></a>
</li>
<li id="item-8-board">
<a id="link-8-board" href="#"><span class="arrow">▶</span>Facile - 8 blocs<span class="arrow">◀</span></a>
</li>
<li id="item-10-board">
<a id="link-10-board" href="#"><span class="arrow">▶</span>Novice - 10 blocs<span class="arrow">◀</span></a>
</li>
<li id="item-12-board">
<a id="link-12-board" href="#"><span class="arrow">▶</span>Apprenti - 12 blocs<span class="arrow">◀</span></a>
</li>
<li id="item-14-board">
<a id="link-14-board" href="#"><span class="arrow">▶</span>Chercheur - 14 blocs<span class="arrow">◀</span></a>
</li>
<li id="item-16-board">
<a id="link-16-board" href="#"><span class="arrow">▶</span>Expert - 16 blocs<span class="arrow">◀</span></a>
</li>
</ul>
</div>
<div>
<ul class="main-menu selectable">
<li class="select-key-type">
<a id="player-key" class="private" href="#"><span class="arrow">▶</span>Joueur : <span class="key"><span class="keyring"></span></span><span class="key-desc">Clé privée</span><span class="arrow">◀</span></a>
</li>
<li class="select-key-type">
<a id="ai-key" class="public" href="#"><span class="arrow">▶</span>Adversaire : <span class="key"><span class="keyring"></span></span><span class="key-desc">Clé publique</span><span class="arrow">◀</span></a>
</li>
</ul>
</div>
</div>
<a href="./" class="btn-close"><img src="img/btn-close.png"></a>
</div>
<div class="wrapper bg-circuits hidden" id="bg-circuits">
<canvas style="position: absolute; display: table-cell" id="main_scene"></canvas>
<div class="vertical-centering">
</div>
</div>
<div class="trick-font" style="font-family: Inconsolata; font-size: 1px;">NoDisplay</div>
<div class="trick-font" style="font-family: Quantico; font-size: 1px">NoDisplay</div>
<div class="wrapper white hidden">
</div>
<div class="wrapper bg-circuits hidden" id="end-game">
<div class="vertical-centering">
<img class="cryptris-logo-medium" src="img/logo-cryptris-large.png">
<h2>– FIN –</h2>
<p>Partagez votre expérience sur vos réseaux sociaux préférés :</p>
<p class="share-game">
<a href="#"><img src="img/icn-facebook-large.png"></a>
<a href="#"><img src="img/icn-twitter-large.png"></a>
<a href="#"><img src="img/icn-gp-large.png"></a>
</p>
<p><a href="credits.html" class="button blue">Suite</a></p>
</div>
</div>
</div>
</body>
</html>