60 lines
2.2 KiB
TypeScript
60 lines
2.2 KiB
TypeScript
|
import { render_and_copy, randirect } from "./common.tsx";
|
||
|
|
||
|
// 0 will be hidden (but it will be obvious that that is a thing, i don't think
|
||
|
// it will be hard to find)
|
||
|
// redirect to what!??!?!?!?!?!??!?!
|
||
|
|
||
|
export type Riddle = { riddle: string; answer: string };
|
||
|
// TODO: vet
|
||
|
export const riddles: Riddle[] = [
|
||
|
{ riddle: "I'm the first letter of the alphabet. What am I?", answer: "a" },
|
||
|
{ riddle: "I'm a fruit and also a color. What am I?", answer: "o" },
|
||
|
{ riddle: "I'm a shape with three sides. What am I?", answer: "t" },
|
||
|
{ riddle: "I'm a number that comes after nine. What am I?", answer: "a" },
|
||
|
{ riddle: "I'm a sound a dog makes. What am I?", answer: "b" },
|
||
|
{
|
||
|
riddle: "I'm a small insect that flies around flowers. What am I?",
|
||
|
answer: "b",
|
||
|
},
|
||
|
{ riddle: "I'm a month with 30 days. What am I?", answer: "a" },
|
||
|
{
|
||
|
riddle: "I'm a punctuation mark used to end sentences. What am I?",
|
||
|
answer: "p",
|
||
|
},
|
||
|
{ riddle: "I'm a planet closest to the sun. What am I?", answer: "m" },
|
||
|
{
|
||
|
riddle: "I'm a body part that you use to smell. What am I?",
|
||
|
answer: "n",
|
||
|
},
|
||
|
{ riddle: "I'm a type of nut often used in pies. What am I?", answer: "p" },
|
||
|
{
|
||
|
riddle: "I'm a metal that's attracted to magnets. What am I?",
|
||
|
answer: "i",
|
||
|
},
|
||
|
{
|
||
|
riddle: "I'm a type of bird associated with wisdom. What am I?",
|
||
|
answer: "o",
|
||
|
},
|
||
|
{ riddle: "I'm a reptile that can change color. What am I?", answer: "c" },
|
||
|
{ riddle: "I'm a letter that sounds like 'you.' What am I?", answer: "u" },
|
||
|
{
|
||
|
riddle: "I'm a game where you try to sink your opponent's ships. What am I?",
|
||
|
answer: "b",
|
||
|
},
|
||
|
{
|
||
|
riddle: "I'm a type of flower often given on Valentine's Day. What am I?",
|
||
|
answer: "r",
|
||
|
},
|
||
|
{
|
||
|
riddle: "I'm a beverage made from beans and enjoyed hot. What am I?",
|
||
|
answer: "c",
|
||
|
},
|
||
|
{
|
||
|
riddle: "I'm a country known for kangaroos and the Outback. What am I?",
|
||
|
answer: "a",
|
||
|
},
|
||
|
{ riddle: "I'm a shape with four equal sides. What am I?", answer: "s" },
|
||
|
];
|
||
|
|
||
|
const answer = riddles.map(r => r.answer).join();
|