-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
217 lines (212 loc) · 6.04 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30'><text x='0' y='25' font-size='25'>🔒</text></svg>" type="image/svg+xml">
<link rel="stylesheet" href="style.css">
<title>Encoded</title>
</head>
<body>
<h1>Play Encoded, a game concept by <a href="https://github.com/Marwane-HQ2?tab=repositories">M_</a></h1>
<h2>Presentation</h2>
<p>Encoded is a game inspired by the mecanism of coded messages, as it is described in the novel <u>Bitterblue</u> by Kristin Cashore.
<br>
The principe of this game is to find the "key", i. e. word used to create the encoded logic and then decode the message.
<br>
For example:
</p>
<ul>
<li>The key here is "BAMBOO"</li>
<li>And here is the method used to code the message "Meeting at seven":</li>
<li>First, we will need to create a table with 2 rows and 26 columns, one for each letter of the alphabet. First row represents the encoded version. The second row represents the "natural language".</li>
</ul>
<table border="1">
<tr id="empty_table">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr id="empty_table">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<!-- PAUSE -->
<ul>
<li>Now, we write our "key" in a way that a letter does not appear twice. Like that: (B ans O appear two times in BAMBOO, so we write BAMO) </li>
</ul>
<table border="1">
<tr id="empty_table">
<td>B</td>
<td>A</td>
<td>M</td>
<td>O</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr id="empty_table">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<ul>
<li>Then, you continue the alphabet from the last letter in the first row (O here), without repeating any letters.
When you are done, still on the first row, you put the letters you skipped
so far in order (A and B are already there, so start from C, then write D, E...).
Finally, we write down the normal alphabet on the second row. </li>
</ul>
<table border="1">
<tr>
<td>B</td>
<td>A</td>
<td>M</td>
<td>O</td>
<td>P</td>
<td>Q</td>
<td>R</td>
<td>S</td>
<td>T</td>
<td>U</td>
<td>V</td>
<td>W</td>
<td>X</td>
<td>Y</td>
<td>Z</td>
<td>C</td>
<td>D</td>
<td>E</td>
<td>F</td>
<td>G</td>
<td>H</td>
<td>I</td>
<td>J</td>
<td>K</td>
<td>L</td>
<td>N</td>
</tr>
<tr>
<td>A</td>
<td>B</td>
<td>C</td>
<td>D</td>
<td>E</td>
<td>F</td>
<td>G</td>
<td>H</td>
<td>I</td>
<td>J</td>
<td>K</td>
<td>L</td>
<td>M</td>
<td>N</td>
<td>O</td>
<td>P</td>
<td>Q</td>
<td>R</td>
<td>S</td>
<td>T</td>
<td>U</td>
<td>V</td>
<td>W</td>
<td>X</td>
<td>Y</td>
<td>Z</td>
</tr>
</table>
<br>
<p>So, with the key "BAMBOO", you can write "Meeting at seven" like that "Xppgtyr bg fpipy" !</p>
<button onclick="window.location.href='play.html'">Start a game !</button> <button onclick="window.location.href='encode_/free_encode.html'">Want to encode messages ?</button>
</body>
</html>