-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
128 lines (120 loc) · 3.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>caesar: cryptanalysis minigame</title>
<link
rel="apple-touch-icon"
sizes="180x180"
href="ico/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="ico/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="ico/favicon-16x16.png"
/>
<link rel="manifest" href="ico/site.webmanifest" />
<link
rel="mask-icon"
href="ico/safari-pinned-tab.svg"
color="#131313"
/>
<link rel="shortcut icon" href="ico/favicon.ico" />
<meta name="msapplication-TileColor" content="#131313" />
<meta name="msapplication-config" content="ico/browserconfig.xml" />
<meta name="theme-color" content="#131313" />
<meta property="og:title" content="caesar" />
<meta property="og:type" content="website" />
<meta
property="og:image"
content="https://caesar.nds.dev.br/ico/logo-nobg.png"
/>
<meta property="og:url" content="https://caesar.nds.dev.br" />
<meta property="og:locale" content="en" />
<meta property="og:site_name" content="caesar.nds.dev.br" />
<meta property="og:description" content="Cryptanalysis browser game" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/picnic.min.css"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="top">
<div class="column"><p id="cipher"></p></div>
<div class="column"><p id="plain"></p></div>
</div>
<div id="bottom">
<div class="column">
<div id="button-row">
<button id="new-poem">new poem</button>
<button class="warning" id="get-hint">get hint</button>
<button class="error" id="view-solution">
view solution
</button>
<button id="tutorial">how to play</button>
<div id="htpModal" class="modal hidden">
<div class="modal-content">
<span class="blue"
>You have received a random ciphered poem in
English. Use frequency analysis, syntactic
analysis, some informed guesses, and other
cryptanalysis techniques to gradually uncover
the hidden poem.</span
>
<br /><br />
Type inside the letter boxes and see the text get
replaced on the right. <br />
Try to start with one-letter words, and work your
way up from there. <br />
Keep in mind, you can always use
<span class="yellow">hints</span> for some aid.
<br />
<br />
Good luck. Or must I say, good cryptanalysis! <br />
<span id="htpClose" class="close">close</span>
</div>
</div>
</div>
<form id="alphabet" autocomplete="off"></form>
<button id="hide-notes">hide notes</button>
</div>
<div class="column no-pad">
<form autocomplete="off">
<textarea
name="text"
spellcheck="false"
id="notes"
></textarea>
</form>
</div>
</div>
<div id="footer">
<b>caesar</b> by
<a
href="https://nds.dev.br"
target="_blank"
rel="noopener noreferrer"
>nds</a
>
| view on
<a
href="https://github.com/tronfy/caesar"
target="_blank"
rel="noopener noreferrer"
>github</a
>
</div>
<script src="https://cdn.jsdelivr.net/npm/umbrellajs"></script>
<script src="game.js" type="module"></script>
</body>
</html>