commit f09575d8c64fcf36037ac76179b5d8483bc2f9a9
Author: ffff:96.64.237.158 <ffff:96.64.237.158@hub.scroll.pub> Date: 2024-12-22 21:19:50 +0000 Subject: updated index.scroll diff --git a/index.scroll b/index.scroll index 68d4317..8b3d915 100644 --- a/index.scroll +++ b/index.scroll @@ -8,8 +8,8 @@ jeopardy.parsers jeopardy # Science -A: This element makes up about 78% of Earth's atmosphere -Q: What is nitrogen? +A: This element makes up about 2% of Earth's atmosphere +Q: What is oxygen? A: The speed of light in miles per second Q: What is 186,282? A: This scientist's "uncertainty principle" states you can't know both a particle's position and momentum
commit dc575c01b3971cd05d643a38030ceec6bb37cbe7
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub> Date: 2024-12-22 18:28:05 +0000 Subject: updated index.scroll diff --git a/index.scroll b/index.scroll index 9c0536c..68d4317 100644 --- a/index.scroll +++ b/index.scroll @@ -8,73 +8,73 @@ jeopardy.parsers jeopardy # Science -A: This force pulls all objects toward Earth's center -Q: What is gravity? -A: The closest star to Earth -Q: What is the Sun? -A: The powerhouse of the cell -Q: What is the mitochondria? -A: This noble gas makes neon signs glow red -Q: What is neon? -A: Einstein's famous equation E=mc² -Q: What is the theory of relativity? +A: This element makes up about 78% of Earth's atmosphere +Q: What is nitrogen? +A: The speed of light in miles per second +Q: What is 186,282? +A: This scientist's "uncertainty principle" states you can't know both a particle's position and momentum +Q: Who is Heisenberg? +A: The study of mushrooms, toadstools, and other fungi +Q: What is mycology? +A: The smallest bone in the human body +Q: What is the stapes (or stirrup)? -# History -A: Year Columbus sailed the ocean blue -Q: What is 1492? -A: This president is on Mount Rushmore but not on any U.S. currency -Q: Who is Theodore Roosevelt? -A: Ancient wonder of the world in Egypt -Q: What are the pyramids? -A: This war lasted from 1939 to 1945 -Q: What is World War II? -A: The first permanent English settlement in America -Q: What is Jamestown? +# World History +A: This khan established the largest contiguous land empire in history +Q: Who is Genghis Khan? +A: The last dynasty to rule China +Q: What is the Qing Dynasty? +A: This civilization built Machu Picchu +Q: Who are the Incas? +A: The city destroyed by Mount Vesuvius in 79 AD +Q: What is Pompeii? +A: This queen's reign over England lasted 63 years and defined an era +Q: Who is Queen Victoria? -# Geography -A: The largest continent by land area -Q: What is Asia? -A: This city is known as the "Eternal City" -Q: What is Rome? -A: The longest river in the world -Q: What is the Nile? -A: Country shaped like a boot -Q: What is Italy? -A: The largest ocean on Earth -Q: What is the Pacific Ocean? +# Movies +A: The highest-grossing film of all time (not adjusted for inflation) +Q: What is Avatar? +A: This actor played both Neo in The Matrix and John Wick +Q: Who is Keanu Reeves? +A: The first fully animated feature film +Q: What is Snow White and the Seven Dwarfs? +A: This director is known for Jaws, E.T., and Jurassic Park +Q: Who is Steven Spielberg? +A: The only actor to receive an Oscar nomination for acting in a Lord of the Rings film +Q: Who is Ian McKellen? -# Food -A: This force pulls all objects toward Earth's center -Q: What is gravity? -A: The closest star to Earth -Q: What is the Sun? -A: The powerhouse of the cell -Q: What is the mitochondria? -A: This noble gas makes neon signs glow red -Q: What is neon? -A: Einstein's famous equation E=mc² -Q: What is the theory of relativity? +# Music +A: The "King of Pop" who recorded Thriller +Q: Who is Michael Jackson? +A: This classical composer wrote his Ninth Symphony while deaf +Q: Who is Beethoven? +A: The best-selling band of all time +Q: Who are The Beatles? +A: This instrument is known as the "King of Jazz" +Q: What is the saxophone? +A: The city where Motown Records was founded +Q: What is Detroit? -# Politics -A: This force pulls all objects toward Earth's center -Q: What is gravity? -A: The closest star to Earth -Q: What is the Sun? -A: The powerhouse of the cell -Q: What is the mitochondria? -A: This noble gas makes neon signs glow red -Q: What is neon? -A: Einstein's famous equation E=mc² -Q: What is the theory of relativity? +# Time After Time +A: The longest period of time between two Olympic Games +Q: What is 12 years (1936-1948)? +A: The international standard for measuring time uses oscillations of this element +Q: What is cesium? +A: The period between sunset and sunrise is called this +Q: What is night (or nighttime)? +A: This zone spans from Maine to Florida in the United States +Q: What is the Eastern Time Zone? +A: In science fiction, it's a paradox where you prevent your own birth +Q: What is the grandfather paradox? -# Sports -A: This force pulls all objects toward Earth's center -Q: What is gravity? -A: The closest star to Earth -Q: What is the Sun? -A: The powerhouse of the cell -Q: What is the mitochondria? -A: This noble gas makes neon signs glow red -Q: What is neon? -A: Einstein's famous equation E=mc² -Q: What is the theory of relativity? \ No newline at end of file +# Inventions +A: This inventor created both the light bulb and the phonograph +Q: Who is Thomas Edison? +A: This accidental discovery by Alexander Fleming saved millions of lives +Q: What is penicillin? +A: The Wright brothers invented this at Kitty Hawk +Q: What is the airplane? +A: This Swedish inventor created dynamite and established a famous prize +Q: Who is Alfred Nobel? +A: This device was invented by Tim Berners-Lee in 1989 +Q: What is the World Wide Web? \ No newline at end of file
commit a0ac6da4171170123777874c0ea07bdd9a63fe5a
Author: Breck Yunits <breck7@gmail.com> Date: 2024-12-22 10:13:34 -0800 Subject: diff --git a/.gitignore b/.gitignore index bd1a52d..02fc024 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ *.css *.js *.csv -requests.scroll \ No newline at end of file +requests.scroll +.* \ No newline at end of file diff --git a/index.scroll b/index.scroll index 311057e..9c0536c 100644 --- a/index.scroll +++ b/index.scroll @@ -8,73 +8,73 @@ jeopardy.parsers jeopardy # Science -Q: This force pulls all objects toward Earth's center -A: What is gravity? -Q: The closest star to Earth -A: What is the Sun? -Q: The powerhouse of the cell -A: What is the mitochondria? -Q: This noble gas makes neon signs glow red -A: What is neon? -Q: Einstein's famous equation E=mc² -A: What is the theory of relativity? +A: This force pulls all objects toward Earth's center +Q: What is gravity? +A: The closest star to Earth +Q: What is the Sun? +A: The powerhouse of the cell +Q: What is the mitochondria? +A: This noble gas makes neon signs glow red +Q: What is neon? +A: Einstein's famous equation E=mc² +Q: What is the theory of relativity? # History -Q: Year Columbus sailed the ocean blue -A: What is 1492? -Q: This president is on Mount Rushmore but not on any U.S. currency -A: Who is Theodore Roosevelt? -Q: Ancient wonder of the world in Egypt -A: What are the pyramids? -Q: This war lasted from 1939 to 1945 -A: What is World War II? -Q: The first permanent English settlement in America -A: What is Jamestown? +A: Year Columbus sailed the ocean blue +Q: What is 1492? +A: This president is on Mount Rushmore but not on any U.S. currency +Q: Who is Theodore Roosevelt? +A: Ancient wonder of the world in Egypt +Q: What are the pyramids? +A: This war lasted from 1939 to 1945 +Q: What is World War II? +A: The first permanent English settlement in America +Q: What is Jamestown? # Geography -Q: The largest continent by land area -A: What is Asia? -Q: This city is known as the "Eternal City" -A: What is Rome? -Q: The longest river in the world -A: What is the Nile? -Q: Country shaped like a boot -A: What is Italy? -Q: The largest ocean on Earth -A: What is the Pacific Ocean? +A: The largest continent by land area +Q: What is Asia? +A: This city is known as the "Eternal City" +Q: What is Rome? +A: The longest river in the world +Q: What is the Nile? +A: Country shaped like a boot +Q: What is Italy? +A: The largest ocean on Earth +Q: What is the Pacific Ocean? # Food -Q: This force pulls all objects toward Earth's center -A: What is gravity? -Q: The closest star to Earth -A: What is the Sun? -Q: The powerhouse of the cell -A: What is the mitochondria? -Q: This noble gas makes neon signs glow red -A: What is neon? -Q: Einstein's famous equation E=mc² -A: What is the theory of relativity? +A: This force pulls all objects toward Earth's center +Q: What is gravity? +A: The closest star to Earth +Q: What is the Sun? +A: The powerhouse of the cell +Q: What is the mitochondria? +A: This noble gas makes neon signs glow red +Q: What is neon? +A: Einstein's famous equation E=mc² +Q: What is the theory of relativity? # Politics -Q: This force pulls all objects toward Earth's center -A: What is gravity? -Q: The closest star to Earth -A: What is the Sun? -Q: The powerhouse of the cell -A: What is the mitochondria? -Q: This noble gas makes neon signs glow red -A: What is neon? -Q: Einstein's famous equation E=mc² -A: What is the theory of relativity? +A: This force pulls all objects toward Earth's center +Q: What is gravity? +A: The closest star to Earth +Q: What is the Sun? +A: The powerhouse of the cell +Q: What is the mitochondria? +A: This noble gas makes neon signs glow red +Q: What is neon? +A: Einstein's famous equation E=mc² +Q: What is the theory of relativity? # Sports -Q: This force pulls all objects toward Earth's center -A: What is gravity? -Q: The closest star to Earth -A: What is the Sun? -Q: The powerhouse of the cell -A: What is the mitochondria? -Q: This noble gas makes neon signs glow red -A: What is neon? -Q: Einstein's famous equation E=mc² -A: What is the theory of relativity? \ No newline at end of file +A: This force pulls all objects toward Earth's center +Q: What is gravity? +A: The closest star to Earth +Q: What is the Sun? +A: The powerhouse of the cell +Q: What is the mitochondria? +A: This noble gas makes neon signs glow red +Q: What is neon? +A: Einstein's famous equation E=mc² +Q: What is the theory of relativity? \ No newline at end of file diff --git a/jeopardy.parsers b/jeopardy.parsers index bc3338d..584b394 100644 --- a/jeopardy.parsers +++ b/jeopardy.parsers @@ -125,10 +125,10 @@ jeopardyGameParser } currentCategory = line.slice(2).trim() currentQuestions = [] - } else if (line.startsWith("Q:")) { + } else if (line.startsWith("A:")) { const question = line.slice(3).trim() currentQuestions.push({ question: question, answer: "" }) - } else if (line.startsWith("A:")) { + } else if (line.startsWith("Q:")) { const answer = line.slice(3).trim() if (currentQuestions.length > 0) { currentQuestions[currentQuestions.length - 1].answer = answer
commit 374f11a6cb583030b33b215b302c4d3adf41eaa5
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub> Date: 2024-12-22 18:05:12 +0000 Subject: updated index.scroll diff --git a/index.scroll b/index.scroll index d7d2128..311057e 100644 --- a/index.scroll +++ b/index.scroll @@ -2,6 +2,10 @@ buildHtml jeopardy.parsers +// Make your own Jeopardy game! +// Just duplicate this site, then change the text below with your own categories, questions, and answers. +// Enjoy! + jeopardy # Science Q: This force pulls all objects toward Earth's center
commit 2ae1f8fa85031d7370158d5a64b13f490add1423
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub> Date: 2024-12-22 18:02:55 +0000 Subject: updated jeopardy.parsers diff --git a/jeopardy.parsers b/jeopardy.parsers index a25f424..bc3338d 100644 --- a/jeopardy.parsers +++ b/jeopardy.parsers @@ -37,7 +37,6 @@ jeopardyGameParser padding: 4px; text-align: center; font-size: 16px; - height: fit-content; display: flex; align-items: center; justify-content: center;
commit d30f6c048a9e7c37da4c51b02e9b4db1b1b6444d
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub> Date: 2024-12-22 17:59:32 +0000 Subject: updated jeopardy.parsers diff --git a/jeopardy.parsers b/jeopardy.parsers index aa5a79e..a25f424 100644 --- a/jeopardy.parsers +++ b/jeopardy.parsers @@ -18,7 +18,7 @@ jeopardyGameParser extends abstractScrollParser cue jeopardy string css -body {background: #000033;} + body {background: #000033;} .jeopardy-board { display: grid; grid-template-columns: repeat(6, 1fr);
commit e560ca59a6f1f66ad10691ef2e2cd53c68560b32
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub> Date: 2024-12-22 17:59:04 +0000 Subject: updated jeopardy.parsers diff --git a/jeopardy.parsers b/jeopardy.parsers index 0f617d2..aa5a79e 100644 --- a/jeopardy.parsers +++ b/jeopardy.parsers @@ -18,24 +18,26 @@ jeopardyGameParser extends abstractScrollParser cue jeopardy string css - body {background: #000033;} +body {background: #000033;} .jeopardy-board { display: grid; grid-template-columns: repeat(6, 1fr); - gap: 8px; - padding: 20px; + gap: 4px; + padding: 10px; background: #000033; font-family: "Swiss 911", Helvetica, sans-serif; + width: 98vw; + height: 95vh; max-width: 1200px; margin: 0 auto; } .jeopardy-category { background: #000099; color: white; - padding: 10px; + padding: 4px; text-align: center; - font-size: 24px; - height: 100px; + font-size: 16px; + height: fit-content; display: flex; align-items: center; justify-content: center; @@ -44,11 +46,11 @@ jeopardyGameParser .jeopardy-tile { background: #000099; color: #ffcc00; - font-size: 36px; - padding: 20px; + font-size: 24px; + padding: 4px; text-align: center; cursor: pointer; - aspect-ratio: 1; + min-height: 0; display: flex; align-items: center; justify-content: center;
commit 2a8bc1175bf6c42f1348dc6fe0c0cfd54a2bb94c
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub> Date: 2024-12-22 17:56:45 +0000 Subject: updated jeopardy.parsers diff --git a/jeopardy.parsers b/jeopardy.parsers index 5c1f262..0f617d2 100644 --- a/jeopardy.parsers +++ b/jeopardy.parsers @@ -18,6 +18,7 @@ jeopardyGameParser extends abstractScrollParser cue jeopardy string css + body {background: #000033;} .jeopardy-board { display: grid; grid-template-columns: repeat(6, 1fr);
commit 3f8a5537d21ee60fc7bda8c1b0c33b4a45ec2546
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub> Date: 2024-12-22 17:55:59 +0000 Subject: updated jeopardy.parsers diff --git a/jeopardy.parsers b/jeopardy.parsers index 961d160..5c1f262 100644 --- a/jeopardy.parsers +++ b/jeopardy.parsers @@ -2,31 +2,16 @@ categoryTitleParser description A Jeopardy category title extends abstractScrollParser cue # - javascript - buildHtml() { - const categoryName = this.content - return `<div class="jeopardy-category" data-category="${categoryName}">${categoryName}</div>` - } jeopardyQuestionParser description A Jeopardy question extends abstractScrollParser cue Q: - javascript - buildHtml() { - const question = this.content - return `<div class="jeopardy-question" data-question="${question}"></div>` - } jeopardyAnswerParser description A Jeopardy answer extends abstractScrollParser cue A: - javascript - buildHtml() { - const answer = this.content - return `<div class="jeopardy-answer" data-answer="${answer}"></div>` - } jeopardyGameParser description A complete Jeopardy game board
commit d71e01a00969fe395293cbef6741d16f5ca8a5a9
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub> Date: 2024-12-22 17:55:28 +0000 Subject: updated index.scroll diff --git a/index.scroll b/index.scroll index be36886..d7d2128 100644 --- a/index.scroll +++ b/index.scroll @@ -1,6 +1,5 @@ buildHtml - jeopardy.parsers jeopardy @@ -38,4 +37,40 @@ A: What is the Nile? Q: Country shaped like a boot A: What is Italy? Q: The largest ocean on Earth -A: What is the Pacific Ocean? \ No newline at end of file +A: What is the Pacific Ocean? + +# Food +Q: This force pulls all objects toward Earth's center +A: What is gravity? +Q: The closest star to Earth +A: What is the Sun? +Q: The powerhouse of the cell +A: What is the mitochondria? +Q: This noble gas makes neon signs glow red +A: What is neon? +Q: Einstein's famous equation E=mc² +A: What is the theory of relativity? + +# Politics +Q: This force pulls all objects toward Earth's center +A: What is gravity? +Q: The closest star to Earth +A: What is the Sun? +Q: The powerhouse of the cell +A: What is the mitochondria? +Q: This noble gas makes neon signs glow red +A: What is neon? +Q: Einstein's famous equation E=mc² +A: What is the theory of relativity? + +# Sports +Q: This force pulls all objects toward Earth's center +A: What is gravity? +Q: The closest star to Earth +A: What is the Sun? +Q: The powerhouse of the cell +A: What is the mitochondria? +Q: This noble gas makes neon signs glow red +A: What is neon? +Q: Einstein's famous equation E=mc² +A: What is the theory of relativity? \ No newline at end of file