that's pretty much all for ftct
gonna just pch the css don't feel like inline
This commit is contained in:
parent
421ab7864f
commit
48279a7da4
4 changed files with 63 additions and 12 deletions
|
@ -1,4 +1,5 @@
|
|||
import { render_and_copy, randirect } from "./common.tsx";
|
||||
import { randirect } from "./common.tsx";
|
||||
import { render } from "preact-render-to-string";
|
||||
|
||||
// 0 will be hidden (but it will be obvious that that is a thing, i don't think
|
||||
// it will be hard to find)
|
||||
|
@ -25,6 +26,7 @@ export const riddles: Riddle[] = [
|
|||
)}`
|
||||
)
|
||||
),
|
||||
// forgot 42 oof
|
||||
answer: "0041369101",
|
||||
},
|
||||
{
|
||||
|
@ -102,3 +104,29 @@ export const answer = riddles.map(r => r.answer).join("");
|
|||
console.log(answer);
|
||||
// assert in ohio be like XD
|
||||
if (answer.length != 30) throw `dude ${answer.length}`;
|
||||
|
||||
console.log(
|
||||
render(
|
||||
<>
|
||||
<a
|
||||
href={randirect(
|
||||
...riddles
|
||||
.slice(1)
|
||||
.map(
|
||||
(_, i) =>
|
||||
`https://static.pyrope.net/ftct/${i + 1}.txt`
|
||||
)
|
||||
)}
|
||||
class="get-clue"
|
||||
>
|
||||
get a random clue to try!
|
||||
</a>
|
||||
<a
|
||||
href="https://static.pyrope.net/ftct/attempt.html"
|
||||
class="attempt"
|
||||
>
|
||||
see if you have the right answer
|
||||
</a>
|
||||
</>
|
||||
)
|
||||
);
|
||||
|
|
|
@ -23,10 +23,11 @@ proof that you helped find the code (or at least interesting fake proof) in the
|
|||
#ftct channel (you should get access to it pretty quickly), and
|
||||
your name will be added to the list below
|
||||
|
||||
<li>you get to be the ones to see my cohost git repository! i know this is sort
|
||||
of lame but there's over 2300 lines of typescript JSX, a lot of comments showing
|
||||
my thought processes, and a (decent) git history for you to look through so i'll
|
||||
hope you'll enjoy it. you probably like cohost, right?
|
||||
<li>you get to be the first ones to see my cohost git repository! here it is: <a
|
||||
href="https://git.pyrope.net/mbk/cohost">https://git.pyrope.net/mbk/cohost</a> i
|
||||
know this is sort of lame, but there's over 2300 lines of typescript JSX, a lot
|
||||
of comments showing my thought processes, and a (decent) git history for you to
|
||||
look through so i'll hope you'll enjoy it. you probably like cohost, right?
|
||||
</ol>
|
||||
|
||||
winners:
|
||||
|
@ -35,6 +36,3 @@ winners:
|
|||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
24
static/ftct/attempt.html
Normal file
24
static/ftct/attempt.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>attempt ftct</title>
|
||||
<style>
|
||||
body {
|
||||
margin: 0 auto;
|
||||
width: min(500px, 100vw);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>go ahead, try</h1>
|
||||
<h2>should be exactly 30 characters</h2>
|
||||
<input type="text" />
|
||||
<button
|
||||
onclick="window.location.replace(`https://static.pyrope.net/ftct/${document.querySelector('input').value}.html`)"
|
||||
>
|
||||
see if you're right
|
||||
</button>
|
||||
</body>
|
||||
</html>
|
|
@ -57,10 +57,11 @@ proof that you helped find the code (or at least interesting fake proof) in the
|
|||
#ftct channel (you should get access to it pretty quickly), and
|
||||
your name will be added to the list below
|
||||
|
||||
<li>you get to be the ones to see my cohost git repository! i know this is sort
|
||||
of lame but there's over 2300 lines of typescript JSX, a lot of comments showing
|
||||
my thought processes, and a (decent) git history for you to look through so i'll
|
||||
hope you'll enjoy it. you probably like cohost, right?
|
||||
<li>you get to be the first ones to see my cohost git repository! here it is: <a
|
||||
href="https://git.pyrope.net/mbk/cohost">https://git.pyrope.net/mbk/cohost</a> i
|
||||
know this is sort of lame, but there's over 2300 lines of typescript JSX, a lot
|
||||
of comments showing my thought processes, and a (decent) git history for you to
|
||||
look through so i'll hope you'll enjoy it. you probably like cohost, right?
|
||||
</ol>
|
||||
|
||||
winners:
|
||||
|
|
Loading…
Reference in a new issue