summaryrefslogtreecommitdiff
path: root/index.html
blob: ad7687402991ec3f925fb3c14ff501eedd4242e7 (plain)
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
<!DOCTYPE html>
<html>
  <head>
    <title>Prosodyle</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="/prosodyle/static/styles.css">
    <link rel="shortcut icon" type="image/x-icon" href="/prosodyle/static/favicon.ico">
  </head>
  <body>
	<div class="container">
        <div>
            <a href="/" class="title">Prosodyle</a><span>@</span><a href="https://cyfraeviolae.org">cyfraeviolae.org</a>
            <span class="sep">|</span>
            <a href="https://cyfraeviolae.org/git/prosodyle">source code</a>
        </div>
        <p>
			The dithyrambic sorcerer Roseacrucis has breached the Library&rsquo;s security measures and encrypted its
			treasured poetry collections. As our newest acolyte, your task is to decode one secret line of poetry each day.
        </p>
        <p>
			For the ransom price of one new line with the same metrical and syllabic structure as today&rsquo;s secret
			line, Roseacrucis will reveal which letters are in the right place 🟩, in the right word but in a different
			place 🟨, or not in the word at all ⬜.
        </p>
        <noscript>Sorry, JavaScript is required to play Prosodyle.</noscript>
		<form id="game" action="javascript:void(0);" method="none">
			<p>
				Write a line of poetry. Syllables in dark boxes should be stressed.
			</p>
			<div id="entry"></div>
            <input id="kb" type="text" style="isplay:none;"></input>
			<div id="btns">
				<button id="check" type="submit">Check</button>
				<button id="clear">Clear</button>
			</div>
			<hr>
			<div id="win" style="display: none;">
				<p>
					Victory is yours! Today&rsquo;s secret line was in
					<strong id="meter"></strong>:
				</p>
				<pre id="ctx" class="poetry"></pre>
				<p>
					But our troubles are not over. Most of the Library&rsquo;s poetry
					remains encrypted, and we need your help to decode a new line
					tomorrow.
				</p>
				<p>
					In the meantime, you may share your results with your fellow acolytes,
					adding punctuation as desired.
				</p>
				<div>
					<textarea rows="4" id="share"></textarea>
				</div>
				<button id="copy">Copy</button>
				<hr>
			</div>
			<p id="guesses"></p>
		</form>
    </div>
    <script src="/prosodyle/static/poems.js"></script>
    <script src="/prosodyle/static/script.js"></script>
  </body>
</html>