Add files using upload-large-folder tool
Browse files- benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_4240053_bonafide.pt +3 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_5.html/index.html +49 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_6.html/7_6.html +39 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_6.html/7_6.pdf +0 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_6.html/7_6.ps +3 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_6.html/checkanswer.js +281 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_6.html/index.html +49 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_6.html/squiggles.html +47 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_7.html/7_7.html +98 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_7.html/checkanswer.js +281 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_7.html/index.html +49 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_7.html/thats-right.html +83 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_8.html/7_8.html +115 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_8.html/checkanswer.js +281 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_8.html/dream-getaway.html +85 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_8.html/index.html +49 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_index.html/7_1.html +62 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_index.html/7_2.html +119 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_index.html/7_3.html +115 -0
- benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_index.html/7_4.html +49 -0
benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_4240053_bonafide.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36f94ba6cf3a21a2d49ad40b5a58cdbf8eaefe99a17449e6aad087741587dcd5
|
| 3 |
+
size 49378
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_5.html/index.html
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<title>ACMECorp: Section 7</title>
|
| 5 |
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 6 |
+
</head>
|
| 7 |
+
|
| 8 |
+
<body bgcolor=white><!--CUT--><div align=right><small><a href="../../solutions/m7.html">(Meta-puzzle solution)</a></small></div><!--CUT--><font face="arial">
|
| 9 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 10 |
+
<tr>
|
| 11 |
+
<td><img src="images/head7.jpg"></td>
|
| 12 |
+
</tr>
|
| 13 |
+
</table>
|
| 14 |
+
<p><strong><font face="Arial">Section 7</font></strong></p>
|
| 15 |
+
|
| 16 |
+
<em>Saturday the boss went out for drinks.</em>
|
| 17 |
+
|
| 18 |
+
<p>
|
| 19 |
+
|
| 20 |
+
<em>The bartender, a large genial Irishman who's happy to assist you, remembers him. "He was a regular here, always left a couple dollars as a tip. Nice guy. Saturday, he comes in here with a date--real knockout, she was--and buys drinks for the two of them. But here's what blows my mind: he spends the whole time doodling on the napkins instead of paying attention to her.</em>
|
| 21 |
+
|
| 22 |
+
<p>
|
| 23 |
+
|
| 24 |
+
<em>"I kept 'em in case he came back, thought they might be part of his business or something. Wanna see 'em?"</em>
|
| 25 |
+
|
| 26 |
+
<p><ol>
|
| 27 |
+
<li><a href="7_1.html">Smush</a></li>
|
| 28 |
+
<li><a href="7_2.html">When Johnny Comes Marching Home</a></li>
|
| 29 |
+
<li><a href="7_3.html">Set Match</a></li>
|
| 30 |
+
<li><a href="7_4.html">Mixed Drink</a></li>
|
| 31 |
+
<li><a href="7_5.html">Folderol</a></li>
|
| 32 |
+
<li><a href="7_6.html">Squiggles</a></li>
|
| 33 |
+
<li><a href="7_7.html">That's Right</a></li>
|
| 34 |
+
<li><a href="7_8.html">Dream Getaway</a></li>
|
| 35 |
+
</ol>
|
| 36 |
+
</p>
|
| 37 |
+
<p> </p>
|
| 38 |
+
<p> </p>
|
| 39 |
+
<p> </p>
|
| 40 |
+
<p> </p>
|
| 41 |
+
<p> </p>
|
| 42 |
+
<a href="../index.html">Back to the index</a>
|
| 43 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 44 |
+
<tr>
|
| 45 |
+
<td><img src="images/foot7.jpg"></td>
|
| 46 |
+
</tr>
|
| 47 |
+
</table>
|
| 48 |
+
</body><script type="module" src="/checkanswer.js"></script>
|
| 49 |
+
</html>
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_6.html/7_6.html
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| 2 |
+
<HTML>
|
| 3 |
+
<HEAD>
|
| 4 |
+
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
| 5 |
+
<META NAME="Author" CONTENT="ACMECorp">
|
| 6 |
+
<META NAME="GENERATOR" CONTENT="Document Archivists">
|
| 7 |
+
<TITLE>Squiggles</TITLE>
|
| 8 |
+
</HEAD>
|
| 9 |
+
<BODY BGCOLOR="#ffffff"><!--CUT--><div align=right><small><a href="../../solutions/squiggles.html">(Solution)</a></small></div><!--CUT--><FONT FACE="arial">
|
| 10 |
+
|
| 11 |
+
<table width="100%">
|
| 12 |
+
<tr>
|
| 13 |
+
<td><img src="images/head7.jpg"></td>
|
| 14 |
+
</tr>
|
| 15 |
+
</table>
|
| 16 |
+
|
| 17 |
+
<strong><h2>Document 7.6: Squiggles</h2></strong>
|
| 18 |
+
|
| 19 |
+
<p>
|
| 20 |
+
|
| 21 |
+
<em>"I brought him an India Pale Ale and a fresh piece of paper," the bartender comments, "and he didn't seem drunk: he was enunciating clearly and speaking coherently. But if he thought what he was writing here looked like English, well, he needed more than a road map to find his way back to Soberville."</em>
|
| 22 |
+
|
| 23 |
+
<p>
|
| 24 |
+
|
| 25 |
+
<a href="7_6.pdf">PDF document</a> or <a href="7_6.ps">PS document</a>.
|
| 26 |
+
|
| 27 |
+
<p><br><p>
|
| 28 |
+
|
| 29 |
+
<a href="index.html">Back to the index</a>
|
| 30 |
+
|
| 31 |
+
<table width="100%">
|
| 32 |
+
<tr>
|
| 33 |
+
<td><img src="images/foot7.jpg"></td>
|
| 34 |
+
</tr>
|
| 35 |
+
</table>
|
| 36 |
+
|
| 37 |
+
</FONT>
|
| 38 |
+
</body><script type="module" src="/checkanswer.js"></script><script type="module" src="/checkanswer.js"></script>
|
| 39 |
+
</HTML>
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_6.html/7_6.pdf
ADDED
|
Binary file (83.6 kB). View file
|
|
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_6.html/7_6.ps
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
%!
|
| 2 |
+
% This file has been obfuscated by obfuscateps.pl. It should be readable in any postscript viewer.
|
| 3 |
+
/fBandied { /fTompkins exch def /fWilkie exch def /fAscot fWilkie length fTompkins length add string def fAscot 0 fWilkie putinterval fAscot fWilkie length fTompkins putinterval fAscot } def /fAside 9 dict def fAside /fPermitting matrix put /fFortune { fAside begin /fExterminating exch def /fForested exch def /fGina exch def /fArchery exch def /fBagging exch def /fBrandishes exch def /fGerminate fPermitting currentmatrix def fBrandishes fBagging translate fArchery fGina scale 0 0 1 fForested fExterminating arc fGerminate setmatrix end } def /fBounty { fAside begin /fExterminating exch def /fForested exch def /fGina exch def /fArchery exch def /fBagging exch def /fBrandishes exch def /fGerminate fPermitting currentmatrix def fBrandishes fBagging translate fArchery fGina scale 0 0 1 fForested fExterminating arcn fGerminate setmatrix end } def /fKeynesian { /fAurelius exch def fAurelius abs 1 eq{ fAurelius 0 gt { 0 }{ 180 } ifelse }{ 90 fAurelius 1 fAurelius 2 exp sub sqrt div 1 atan sub } ifelse } def /fStorekeeper { /fBeverages exch def /fAnastomotic exch def /fBitumen exch def /fCooke exch def /fHabits fCooke 2 exp fBitumen 2 exp add sqrt def /fOccupies fBitumen fCooke atan def /fAdulterates fAnastomotic fHabits div fKeynesian def fBeverages 0 gt { fOccupies fAdulterates add } { fOccupies fAdulterates sub } ifelse } def /fAlberta { fZionism currentpoint /fBagging exch def /fBrandishes exch def -.5 0 rmoveto -1 -1 rmoveto fBrandishes .5 sub fBagging 1 sub 1 -180 -0 arc -1 1 rmoveto .5 0 rmoveto } def /fFixedness { fZionism -1.5 -1.5 rmoveto 0 0 rlineto 2 0 rlineto -.5 1.5 rmoveto } def /fMisconception { fAlberta fQueer } def /fForthcoming { fAlberta fBunter } def /fSine { fZionism -1.5 -2 rmoveto 2 2 rlineto -.5 0 rmoveto } def /fPetition { fSine fQueer } def /fBemoaning { fZionism 1 2 fAgreement } def /fUneasiness { fZionism -1.5 2 rmoveto 2 -2 rlineto -.5 0 rmoveto } def /fRecourse { fZionism fQueer } def /fQueer { -1.5 1.5 rmoveto 2 0 rlineto -.5 -1.5 rmoveto } def /fTrain { fZionism currentpoint /fBagging exch def /fBrandishes exch def -1.5 0 rmoveto fBrandishes .5 add fBagging 2 180 270 arc -.5 2 rmoveto } def /fFluency { fTrain fQueer } def /fBrie { fZionism currentpoint /fBagging exch def /fBrandishes exch def .5 2 rmoveto fBrandishes .5 add fBagging 2 90 270 arc -.5 2 rmoveto } def /fDisjointed { fZionism currentpoint /fBagging exch def /fBrandishes exch def -1.5 0 rmoveto fBrandishes .5 add fBagging 2 180 90 arcn -.5 -2 rmoveto } def /fTiresomely { fZionism fBunter } def /fBunter { currentpoint /fBagging exch def /fBrandishes exch def -.5 0 rmoveto -1 1 rmoveto fBrandishes .5 sub fBagging 1 add 1 -180 -0 arcn -1 -1 rmoveto .5 0 rmoveto } def /fHyde { fZionism 1 -2 fAgreement } def /fZionism { fMenzies 1 0 rlineto /fWorkhorse 0 def } def /fRecompiles { fMenzies fBeggars } def /fDeprecate { fMenzies fBeggars 5 5 fAgreement } def /fThumping { fMenzies fAnalogues } def /fBunkmates { fMenzies fAnalogues 5 5 fAgreement } def /fQueried { fMenzies fOsteopath } def /fPreprocessed { fMenzies fOsteopath 5 5 fAgreement } def /fFermentations { fMenzies fTeeth } def /fQuartz { fMenzies fUrns } def /fEpitaph { fMenzies fUrns 5 5 fAgreement } def /fStraiten { fMenzies fCeylon } def /fDistorting { fMenzies fCeylon 5 5 fAgreement } def /fConference { fMenzies fPreventing } def /fStrangers { fMenzies fPreventing 2.5 5 fAgreement } def /fLime { fMenzies fFlowcharting } def /fNeutrally { fMenzies fFlowcharting 5 5 fAgreement } def /fDisapproval { fMenzies fDrought } def /fIncoherent { fMenzies fDrought 5 5 fAgreement } def /fCounterfeiting { fMenzies fDismissers } def /fIndividualize { fMenzies fFlee } def /fLoudspeaker { fMenzies fDesolate } def /fMerciful { fMenzies fLets } def /fBereave { fMenzies fVocations } def /fWeissmuller { fMenzies fReiterated } def /fIncorrectly { fWeissmuller } def /fKillings { fMenzies fInstrumental } def /fScenes { fMenzies fBaton } def /fBeggars { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes fBagging 2.5 add 2.5 -90 0 arc fBrandishes 1.25 add fBagging 2.5 add 1.25 0 180 arc fBrandishes 2.5 add fBagging 2.5 add 2.5 5 180 270 fFortune fBrandishes 2.5 add fBagging 3.75 add 1.25 6.25 270 360 fFortune fBrandishes 5 add fBagging 3.75 add 1.25 2.5 180 360 fFortune fBrandishes 7.5 add fBagging 3.75 add 1.25 3.75 180 270 fFortune /fWorkhorse -1 def } def /fAnalogues { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes fBagging 2.5 add 2.5 -90 0 arc fBrandishes 1.25 add fBagging 2.5 add 1.25 0 180 arc 0 -6.25 rlineto fBrandishes 1.25 add fBagging 3.75 sub 1.25 2.5 180 0 fBounty fBrandishes 3.75 add fBagging 3.75 sub 1.25 3.75 180 90 fBounty /fWorkhorse 1 def } def /fOsteopath { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes fBagging 3.75 add 2.5 3.75 270 360 fFortune fBrandishes 1.25 add fBagging 2.5 sub 1.25 360 180 arcn fBrandishes 2.5 add fBagging 2.5 sub 2.5 2.5 180 90 fBounty fBrandishes 2.5 add fBagging 3.75 add 2.5 3.75 270 360 fFortune fBrandishes 6.25 add fBagging 3.75 add 1.25 3.75 180 270 fFortune /fWorkhorse -1 def } def /fTeeth { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes fBagging 2.5 add 2.5 -90 3.75 2.5 2.5 0 fStorekeeper arc fBrandishes 3.75 add fBagging 5 add lineto fBrandishes fBagging 5 sub lineto fBrandishes 3.75 add fBagging 2.5 sub 2.5 -3.75 -2.5 2.5 0 fStorekeeper 90 arcn /fWorkhorse 1 def } def /fUrns { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes fBagging 2.5 add 2.5 -90 0 arc fBrandishes 1.25 add fBagging 2.5 add 1.25 0 180 arc 0 -6.25 rlineto fBrandishes 1.25 add fBagging 3.75 sub 1.25 2.5 180 0 fBounty fBrandishes 6.25 add fBagging 3.75 sub 3.75 6.25 180 90 fBounty fBrandishes 6.25 add fBagging 1.25 sub 2.5 3.75 90 0 fBounty fBrandishes 7.5 add fBagging 1.25 sub 1.25 360 180 arcn fBrandishes 8.75 add fBagging 1.25 sub 2.5 1.25 180 90 fBounty /fWorkhorse 0 def } def /fLets { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes fBagging 2.5 add 2.5 -90 4 1 1.25 0 fStorekeeper arc fBrandishes 4 add fBagging 3.5 add lineto fBrandishes 4 add fBagging 1.25 add 1.25 0 -2.25 1.25 0 fStorekeeper 270 arc /fWorkhorse -1 def } def /fPreventing { currentpoint /fBagging exch def /fBrandishes exch def 5 3.75 rlineto fBrandishes 2.5 add fBagging 2.5 sub 1.25 2.5 6.25 1.25 1 fStorekeeper 360 arc fBrandishes 2.5 add fBagging 2.5 sub 1.25 2.5 0 90 fFortune 2.5 0 rlineto /fWorkhorse 0 def } def /fCeylon { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes fBagging 2.5 add 2.5 -90 0 arc fBrandishes 1.25 add fBagging 2.5 add 1.25 0 180 arc fBrandishes 2.5 add fBagging 2.5 add 2.5 5 180 270 fFortune fBrandishes 2.5 add fBagging 3.75 add 2.5 6.25 270 360 fFortune fBrandishes 6.25 add fBagging 3.75 add 1.25 3.75 180 270 fFortune /fWorkhorse -1 def } def /fBoardinghouses { 5 -5 rlineto -5 0 rlineto 5 5 rmoveto /fWorkhorse 1 def } def /fPrancer { currentpoint /fBagging exch 5 add def /fBrandishes exch 7.5 add def fBrandishes 7.5 sub fBagging 2.5 sub 2.5 270 0 arc fBrandishes 2.5 sub fBagging 2.5 sub 2.5 180 -180 arcn 5 2.5 rmoveto /fWorkhorse 1 def } def /fFlowcharting { currentpoint /fBagging exch def /fBrandishes exch def 1.25 0 rlineto fBrandishes 1.25 add fBagging 2.5 add 1.25 2.5 270 180 fBounty fBrandishes 1.25 add fBagging 2.5 add 1.25 180 0 arcn 0 -5 rlineto fBrandishes 3.75 add fBagging 2.5 sub 1.25 180 360 arc fBrandishes 3.75 add fBagging 2.5 sub 1.25 2.5 0 90 fFortune 1.25 0 rlineto /fWorkhorse 0 def } def /fDrought { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes 2.5 add fBagging 2.5 180 90 arcn fBrandishes 2.5 add fBagging 1.25 sub 2.5 3.75 90 0 fBounty fBrandishes 3.75 add fBagging 1.25 sub 1.25 360 180 arcn fBrandishes 5 add fBagging 1.25 sub 2.5 1.25 180 90 fBounty /fWorkhorse 1 def } def /fDismissers { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes fBagging 2.5 add 2.5 -90 0 arc fBrandishes 1.25 add fBagging 2.5 add 1.25 0 180 arc fBrandishes 2.5 add fBagging 2.5 add 2.5 5 180 270 fFortune fBrandishes 2.5 add fBagging 2.5 270 360 arc /fWorkhorse 0 def } def /fFlee { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes fBagging 2.5 add 2.5 -90 0 arc fBrandishes 1.25 add fBagging 2.5 add 1.25 0 180 arc 0 -6.25 rlineto 0 1.25 rlineto fBrandishes 2.5 add fBagging 2.5 sub 2.5 180 90 arcn /fWorkhorse 1 def } def /fDesolate { currentpoint /fBagging exch def /fBrandishes exch def /fPeak 1.25 2.5 div fKeynesian def fBrandishes fBagging 2.5 add 2.5 -90 0 arc fBrandishes 1.25 add fBagging 2.5 add 1.25 0 0 -2.5 1.25 0 fStorekeeper arc fBrandishes 1.25 add fBagging 2.5 sub 1.25 0 2.5 1.25 0 fStorekeeper -180 arcn fBrandishes 2.5 add fBagging 2.5 sub 2.5 -180 -270 arcn /fWorkhorse 1 def } def /fReiterated { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes 2.5 add fBagging 2.5 180 360 arc /fWorkhorse 0 def } def /fVocations { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes fBagging 2.5 sub 2.5 90 0 arcn fBrandishes 1.25 add fBagging 2.5 sub 1.25 360 180 arcn fBrandishes 2.5 add fBagging 2.5 sub 2.5 180 90 arcn /fWorkhorse 1 def } def /fInstrumental { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes fBagging 0.625 sub 0.625 90 -2.5 -4.375 0.625 1 fStorekeeper arcn fBrandishes 2.5 sub fBagging 5 sub lineto fBrandishes 3 add fBagging 1.25 sub 1.25 -5.5 -4.375 1.25 0 fStorekeeper 90 arcn /fWorkhorse 1 def } def /fBaton { currentpoint /fBagging exch def /fBrandishes exch def fBrandishes fBagging 1.25 sub 1.25 90 0 arcn 0 -2.5 rlineto 0 2.5 rlineto fBrandishes 2.5 add fBagging 1.25 sub 1.25 180 90 arcn /fWorkhorse 1 def } def /fAgreement { currentpoint /fMajors exch def /fDarwin exch def /fRepackage exch def /fGeometrician exch def /fBagging fMajors fRepackage add def /fBrandishes fDarwin fGeometrician 2 div sub def fBrandishes fBagging moveto currentlinewidth 2 div 0 rmoveto fBrandishes fBagging currentlinewidth 2 div 0 360 arc fDarwin fMajors moveto } def /fKabul { fShootings 2 0 rmoveto fIntercommunicating } def /fIntercommunicating { currentpoint pop fEarthquakes gt { fAutism } if } def /fMenzies { 2 0 rlineto } def /fWorkhorse 0 def /fShootings { fWorkhorse 0 eq { fMenzies } { currentpoint /fBagging exch def /fBrandishes exch def fWorkhorse 0 gt { fBrandishes fBagging 2.5 sub 2.5 90 45 arcn } { fBrandishes fBagging 2.5 add 2.5 -90 -45 arc } ifelse fBrandishes 2 add fBagging moveto } ifelse /fWorkhorse 0 def } def /fElicited { 2 0 rmoveto } def /fDentists { fShootings fElicited 0 5 rmoveto 0 -10 rlineto 0 5 rmoveto fElicited fIntercommunicating } def /fCircuitry { fShootings fElicited fElicited 0 5 rmoveto 2 { 1.25 -1.25 rlineto -2.5 -2.5 rlineto 1.25 -1.25 rlineto } repeat 0 5 rmoveto fElicited fElicited fIntercommunicating } def /fServers { fShootings fElicited fElicited currentpoint /fBagging exch def /fBrandishes exch def 0 5 rmoveto fBrandishes fBagging 3.75 add 1.25 90 -90 arcn fBrandishes fBagging 1.25 add 1.25 90 270 arc fBrandishes fBagging 1.25 sub 1.25 90 -90 arcn fBrandishes fBagging 3.75 sub 1.25 90 270 arc 0 5 rmoveto fElicited fElicited fIntercommunicating } def /fMusician { fMenzies currentpoint pop /fExcusing exch def fMenzies /fPleasingly 1 def } def /fCofactor { fMenzies currentpoint /fBagging exch def /fBrandishes exch def fExcusing fBrandishes add 2 div fBagging fBrandishes fExcusing sub 2 div 7.5 0 180 fBounty fBrandishes fBagging moveto /fPleasingly 0 def } def /fExperimental { fMenzies currentpoint /fBagging exch def /fBrandishes exch def 0 2.5 rlineto fBrandishes 5 sub fBagging 2.5 add 5 0 90 arc fExcusing 5 add fBagging 7.5 add lineto fExcusing 5 add fBagging 2.5 add 5 90 180 arc 0 -5 rlineto fExcusing 5 add fBagging 2.5 sub 5 180 270 arc fBrandishes 5 sub fBagging 7.5 sub lineto fBrandishes 5 sub fBagging 2.5 sub 5 270 0 arc 0 2.5 rlineto /fPleasingly 0 def } def /fPilgrim { gsave 30 rotate 1 .25 scale stroke grestore newpath } def /fCircus {72 mul} def /fAphonic 36 def /fVineyards 0.25 fCircus def /fEarthquakes 5.5 1 sub fCircus def /fForgives fAphonic def /fPleasingly 0 def /fAutism { fPleasingly 0 ne { fCofactor /fPleasingly 1 def } if /fForgives fForgives 1.5 sub def fForgives 1 lt { fEdmund } if fVineyards fForgives 5 div fCircus moveto fPleasingly 0 ne { fMusician } if } def /fDragged { fPilgrim grestore showpage } def /fDestroys { gsave 1.5 dup scale 0 setlinecap 1 setlinejoin .75 setlinewidth /fForgives fAphonic def newpath fAutism } def /fEdmund { fDragged fDestroys } def fDestroys fUneasiness fThumping fKabul fUneasiness fNeutrally fKabul fStrangers fRecourse fNeutrally fKabul fKillings fUneasiness fThumping fBemoaning fKillings fKabul fPreprocessed fScenes fPetition fLime fBemoaning fNeutrally fKabul fStrangers fFixedness fThumping fKabul fCounterfeiting fFixedness fThumping fBemoaning fScenes fKabul fMusician fRecompiles fUneasiness fQueried fBemoaning fScenes fUneasiness fLoudspeaker fCofactor fDentists fThumping fPetition fQueried fKabul fQueried fPetition fScenes fKabul fBemoaning fDistorting fKabul fStrangers fBemoaning fKabul fRecompiles fSine fIndividualize fThumping fLime fKabul fFixedness fIndividualize fBunkmates fKabul fStrangers fBemoaning fKabul fRecompiles fForthcoming fIndividualize fBunkmates fNeutrally fKabul fWeissmuller fUneasiness fKillings fKabul fThumping fPetition fQueried fKabul fQueried fPetition fScenes fKabul fBemoaning fDistorting fKabul fStrangers fSine fCounterfeiting fLime fSine fKillings fDistorting fNeutrally fKabul fUneasiness fNeutrally fKabul fFixedness fNeutrally fKabul fThumping fScenes fTiresomely fKabul fBemoaning fDistorting fKabul fRecompiles fBemoaning fScenes fLime fBemoaning fIndividualize fBemoaning fKillings fKabul fMerciful fFixedness fDeprecate fUneasiness fThumping fLime fKabul fFixedness fNeutrally fKabul fBemoaning fDistorting fKabul fCounterfeiting fHyde fIndividualize fRecourse fDentists fAutism fAutism fMusician fMerciful fSine fIndividualize fScenes fRecourse fCofactor fKabul fBereave fTiresomely fKabul fAlberta fScenes fKabul fStrangers fBemoaning fKabul fKillings fMisconception fStraiten fKabul fFixedness fIndividualize fBunkmates fKabul fLime fBrie fKillings fKabul fBemoaning fDistorting fKabul fStrangers fBemoaning fKabul fMusician fScenes fFluency fBemoaning fKillings fKabul fLime fBemoaning fLime fMisconception fBemoaning fThumping fRecourse fCofactor fNeutrally fKabul fScenes fUneasiness fLime fSine fRecompiles fDisapproval fBemoaning fIndividualize fNeutrally fKabul fDeprecate fHyde fThumping fKabul fScenes fUneasiness fKillings fRecourse fKabul fBereave fDisjointed fScenes fKabul fScenes fFixedness fStrangers fBemoaning fScenes fKabul fThumping fScenes fMisconception fUneasiness fLoudspeaker fKabul fAlberta fIndividualize fKabul fCounterfeiting fTrain fScenes fKabul fQueried fAlberta fCounterfeiting fBemoaning fIndividualize fRecompiles fKillings fPetition fLime fKabul fBemoaning fQueried fPetition fIncoherent fBemoaning fIndividualize fNeutrally fDentists fAutism fAutism fBereave fTiresomely fKabul fLime fRecourse fKabul fMusician fBemoaning fKillings fMisconception fNeutrally fBemoaning fCofactor fKabul fTrain fKillings fKabul fCounterfeiting fSine fIndividualize fKabul fAlberta fScenes fKabul fIndividualize fAlberta fThumping fKabul fForthcoming fThumping fFixedness fIndividualize fBunkmates fForthcoming fThumping fKabul fBrie fKillings fBunkmates fKabul fDeprecate fFixedness fQuartz fBemoaning fKillings fBemoaning fScenes fNeutrally fKabul fKillings fMisconception fQueried fKabul fCounterfeiting fRecourse fKabul fFixedness fIndividualize fBunkmates fKabul fStrangers fBemoaning fKabul fMusician fQueried fBemoaning fScenes fIndividualize fBemoaning fKillings fCofactor fDentists fAutism fWeissmuller fMisconception fKabul fDisapproval fDisjointed fBunkmates fKabul fDisapproval fRecourse fKabul fBunkmates fMisconception fKabul fBemoaning fDistorting fKabul fUneasiness fIndividualize fStraiten fKillings fTiresomely fSine fIndividualize fNeutrally fBemoaning fServers fDisapproval fRecourse fKabul fQueried fHyde fCounterfeiting fKabul fConference fScenes fTiresomely fKabul fIndividualize fTiresomely fCounterfeiting fBrie fIndividualize fBereave fBemoaning fKabul fScenes fMisconception fThumping fKabul fUneasiness fIndividualize fHyde fStraiten fKabul fStrangers fBemoaning fKabul fBereave fUneasiness fScenes fKabul fDeprecate fUneasiness fStraiten fTrain fScenes fDentists fAutism fDisapproval fRecourse fKabul fBunkmates fHyde fNeutrally fBemoaning fIndividualize fThumping fKabul fDeprecate fUneasiness fKillings fTrain fLoudspeaker fKabul fThumping fTiresomely fKabul fMerciful fUneasiness fCounterfeiting fDentists fMisconception fKabul fRecompiles fPetition fBunkmates fKabul fMerciful fUneasiness fCounterfeiting fKabul fStraiten fMisconception fDistorting fKabul fRecompiles fForthcoming fIndividualize fBunkmates fNeutrally fKabul fStraiten fTrain fScenes fKabul fMerciful fBemoaning fScenes fDentists fMusician fBunkmates fTiresomely fKillings fUneasiness fThumping fBemoaning fKillings fCofactor fKabul fRecourse fStrangers fBemoaning fScenes fKabul fBereave fDisjointed fScenes fKabul fBemoaning fIndividualize fKabul fAlberta fIndividualize fSine fLime fThumping fKabul fCounterfeiting fFixedness fIndividualize fKabul fTrain fScenes fKabul fBemoaning fKabul fBunkmates fSine fDistorting fBemoaning fKillings fDentists fAutism fAutism fStrangers fUneasiness fLime fKabul fScenes fUneasiness fLoudspeaker fKabul fUneasiness fNeutrally fIndividualize fThumping fKabul fStrangers fBemoaning fKabul fEpitaph fTiresomely fKillings fBemoaning fScenes fNeutrally fKabul fUneasiness fThumping fLime fKabul fStrangers fBemoaning fKabul fWeissmuller fDisjointed fIndividualize fKabul fBereave fTiresomely fKabul fDeprecate fTrain fThumping fKabul fCounterfeiting fRecourse fKabul fUneasiness fIndividualize fKabul fMusician fKillings fHyde fIndividualize fBunkmates fHyde fIndividualize fCofactor fDentists fMisconception fKabul fBunkmates fBrie fIndividualize fThumping fKabul fWeissmuller fAlberta fIndividualize fThumping fKabul fUneasiness fThumping fKabul fIndividualize fForthcoming fDentists fAutism fAutism fUneasiness fStraiten fKabul fBereave fTiresomely fKabul fMerciful fFixedness fBunkmates fKabul fThumping fTrain fKillings fBunkmates fKabul fCounterfeiting fRecourse fKabul fStrangers fFixedness fThumping fKabul fMusician fCounterfeiting fUneasiness fLime fThumping fBemoaning fScenes fKabul fMerciful fSine fIndividualize fScenes fRecourse fCofactor fKabul fWeissmuller fBemoaning fNeutrally fKabul fIndividualize fAlberta fThumping fKabul fUneasiness fIndividualize fKabul fBemoaning fKabul fLime fThumping fPetition fThumping fKabul fUneasiness fThumping fKabul fWeissmuller fDisjointed fBunkmates fKabul fMerciful fFixedness fDistorting fKabul fDeprecate fUneasiness fIndividualize fKabul fCounterfeiting fTrain fScenes fKabul fMisconception fBrie fRecompiles fBemoaning fIndividualize fUneasiness fLoudspeaker fDentists fThumping fSine fKillings fKabul fStrangers fSine fCounterfeiting fKabul fThumping fTiresomely fKabul fQueried fHyde fCounterfeiting fKabul fHyde fRecompiles fKabul fWeissmuller fSine fIndividualize fKabul fStrangers fPetition fDistorting fKabul fStraiten fUneasiness fIndividualize fUneasiness fDisapproval fThumping fKabul fWeissmuller fUneasiness fConference fKabul fStrangers fBemoaning fKabul fRecompiles fBemoaning fKillings fRecourse fLime fDentists fAutism fAutism fStrangers fBemoaning fKabul fIndividualize fBrie fDeprecate fUneasiness fKillings fBemoaning fThumping fRecourse fKabul fBemoaning fDistorting fKabul fStrangers fFixedness fThumping fKabul fRecompiles fTrain fScenes fKabul fWeissmuller fDisjointed fCounterfeiting fBemoaning fIndividualize fKabul fMerciful fTiresomely fKabul fWeissmuller fBemoaning fNeutrally fKabul fMerciful fUneasiness fScenes fKabul fEpitaph fHyde fLime fThumping fKabul fIndividualize fForthcoming fCircuitry fStrangers fBemoaning fKabul fCounterfeiting fFixedness fIndividualize fBemoaning fScenes fNeutrally fKabul fFixedness fIndividualize fBunkmates fKabul fMerciful fFixedness fDeprecate fUneasiness fThumping fLime fKabul fStrangers fFixedness fThumping fKabul fBunkmates fUneasiness fLime fQueried fWeissmuller fAlberta fKillings fBemoaning fStraiten fMisconception fKabul fBemoaning fKabul fStraiten fMisconception fIndividualize fKabul fKillings fPetition fBunkmates fRecourse fKabul fStraiten fScenes fHyde fCounterfeiting fKabul fBemoaning fScenes fIndividualize fUneasiness fLoudspeaker fKabul fMerciful fBemoaning fScenes fKabul fBrie fIndividualize fKabul fKillings fUneasiness fDistorting fUneasiness fLoudspeaker fKabul fWeissmuller fUneasiness fConference fForthcoming fThumping fKabul fPreprocessed fUneasiness fDistorting fUneasiness fLoudspeaker fKabul fMerciful fBemoaning fScenes fKabul fBemoaning fKabul fStraiten fMisconception fIndividualize fKabul fKillings fPetition fBunkmates fRecourse fNeutrally fKabul fUneasiness fIndividualize fQueried fHyde fCounterfeiting fCircuitry fUneasiness fNeutrally fKabul fStrangers fFixedness fThumping fKabul fWeissmuller fBemoaning fThumping fKabul fBereave fTiresomely fKabul fCounterfeiting fRecourse fIndividualize fServers fAutism fDragged
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_6.html/checkanswer.js
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Do this first so that layout shift isn't too bad:
|
| 2 |
+
const container = document.createElement("div");
|
| 3 |
+
container.style = `
|
| 4 |
+
font-size: 16px;
|
| 5 |
+
font-size: clamp(16px, 2.4vw, 21px);
|
| 6 |
+
height: 2.5em;
|
| 7 |
+
`;
|
| 8 |
+
document.body.prepend(container);
|
| 9 |
+
|
| 10 |
+
import { React, html, css, render } from "./package.js";
|
| 11 |
+
|
| 12 |
+
/**
|
| 13 |
+
* Remove non-alphanumeric characters.
|
| 14 |
+
*/
|
| 15 |
+
const normalizeAnswer = (answer) => {
|
| 16 |
+
if (getYear() === 2003) {
|
| 17 |
+
if (document.URL.includes("teamGuest/2")) {
|
| 18 |
+
// Special case: 2003 R2, whose answers are emoji.
|
| 19 |
+
return answer.trim();
|
| 20 |
+
} else if (document.URL.includes("6_3")) {
|
| 21 |
+
// Special case: Answer is literal Greek letter.
|
| 22 |
+
return answer.trim();
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
|
| 26 |
+
};
|
| 27 |
+
|
| 28 |
+
/**
|
| 29 |
+
* Returns the year of the hunt we're in.
|
| 30 |
+
*/
|
| 31 |
+
const getYear = () => {
|
| 32 |
+
return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
|
| 33 |
+
};
|
| 34 |
+
|
| 35 |
+
/**
|
| 36 |
+
* Fetches the answers as a list of {url, answer, prompt, intermediate}.
|
| 37 |
+
*/
|
| 38 |
+
const getData = async () => {
|
| 39 |
+
const res = await fetch("/answers.tsv");
|
| 40 |
+
const data = await res.text();
|
| 41 |
+
const [header, ...body] = data.split("\n");
|
| 42 |
+
const headers = header.trim().split("\t");
|
| 43 |
+
return body.map((row) => {
|
| 44 |
+
const res = {};
|
| 45 |
+
row.split("\t").forEach((item, i) => {
|
| 46 |
+
res[headers[i]] = item.trim();
|
| 47 |
+
});
|
| 48 |
+
return res;
|
| 49 |
+
});
|
| 50 |
+
};
|
| 51 |
+
|
| 52 |
+
/**
|
| 53 |
+
* Gets the base URL; removes trailing index.html and .html, removes everything
|
| 54 |
+
* before the year, and then removes trailing slash.
|
| 55 |
+
*/
|
| 56 |
+
const getBase = (url) => {
|
| 57 |
+
const root =
|
| 58 |
+
RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
|
| 59 |
+
RegExp(`^(.*).html`).exec(url)?.[1] ??
|
| 60 |
+
url;
|
| 61 |
+
const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
|
| 62 |
+
return base.endsWith("/") ? base.slice(0, -1) : base;
|
| 63 |
+
};
|
| 64 |
+
|
| 65 |
+
/**
|
| 66 |
+
* Get all rows in the data corresponding to a given URL. Group by same prompt.
|
| 67 |
+
*/
|
| 68 |
+
const getAnswers = (data, url) => {
|
| 69 |
+
const base = getBase(url);
|
| 70 |
+
const rows = data.filter((row) => getBase(row.url) === base);
|
| 71 |
+
const prompts = [];
|
| 72 |
+
for (const row of rows) {
|
| 73 |
+
const { prompt } = row;
|
| 74 |
+
const group = prompts.find((group) => group.prompt === prompt);
|
| 75 |
+
if (group) {
|
| 76 |
+
group.rows.push(row);
|
| 77 |
+
} else {
|
| 78 |
+
prompts.push({ prompt, rows: [row] });
|
| 79 |
+
}
|
| 80 |
+
}
|
| 81 |
+
return prompts;
|
| 82 |
+
};
|
| 83 |
+
|
| 84 |
+
/**
|
| 85 |
+
* A single textbox and submit button in the rows of possible responses.
|
| 86 |
+
*/
|
| 87 |
+
const ResponseRow = ({ prompt, rows, setFeedback }) => {
|
| 88 |
+
const [response, setResponse] = React.useState("");
|
| 89 |
+
|
| 90 |
+
const form = css`
|
| 91 |
+
align-items: baseline;
|
| 92 |
+
display: flex;
|
| 93 |
+
justify-content: right;
|
| 94 |
+
margin-bottom: 0.5em;
|
| 95 |
+
|
| 96 |
+
@media (max-width: 600px) {
|
| 97 |
+
align-items: flex-start;
|
| 98 |
+
flex-direction: column;
|
| 99 |
+
}
|
| 100 |
+
`;
|
| 101 |
+
|
| 102 |
+
const input = css`
|
| 103 |
+
background: #fafafa;
|
| 104 |
+
border: 1px solid #aaa;
|
| 105 |
+
border-radius: 2px;
|
| 106 |
+
color: #121212;
|
| 107 |
+
font-family: inherit;
|
| 108 |
+
font-size: 100%;
|
| 109 |
+
line-height: 1.2;
|
| 110 |
+
margin: 0 0.5em;
|
| 111 |
+
padding: 0.25em 0.5em;
|
| 112 |
+
|
| 113 |
+
@media (max-width: 600px) {
|
| 114 |
+
margin: 0 0 0.25em;
|
| 115 |
+
}
|
| 116 |
+
`;
|
| 117 |
+
|
| 118 |
+
const onSubmit = (e) => {
|
| 119 |
+
e.preventDefault();
|
| 120 |
+
let set = false;
|
| 121 |
+
for (const row of rows) {
|
| 122 |
+
const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
|
| 123 |
+
if (correct) {
|
| 124 |
+
setFeedback(
|
| 125 |
+
row.intermediate?.trim() === "TRUE"
|
| 126 |
+
? "Correct! See the solution page for the answer."
|
| 127 |
+
: `Solved! The answer was ${row.answer}.`
|
| 128 |
+
);
|
| 129 |
+
set = true;
|
| 130 |
+
break;
|
| 131 |
+
}
|
| 132 |
+
}
|
| 133 |
+
if (!set) {
|
| 134 |
+
setFeedback("Incorrect.");
|
| 135 |
+
}
|
| 136 |
+
};
|
| 137 |
+
|
| 138 |
+
const onChange = (e) => setResponse(e.target.value);
|
| 139 |
+
|
| 140 |
+
return html`
|
| 141 |
+
<form class=${form} onSubmit=${onSubmit}>
|
| 142 |
+
<label htmlFor=${prompt + " prompt"}>
|
| 143 |
+
${prompt || "Enter your guess"}:
|
| 144 |
+
</label>
|
| 145 |
+
<input
|
| 146 |
+
class=${input}
|
| 147 |
+
id=${prompt + " prompt"}
|
| 148 |
+
onChange=${onChange}
|
| 149 |
+
required
|
| 150 |
+
type="text"
|
| 151 |
+
value=${response}
|
| 152 |
+
/>
|
| 153 |
+
<button type="submit">Submit</button>
|
| 154 |
+
</form>
|
| 155 |
+
`;
|
| 156 |
+
};
|
| 157 |
+
|
| 158 |
+
/**
|
| 159 |
+
* Check answer button, rendered at top of page.
|
| 160 |
+
*/
|
| 161 |
+
const CheckButton = ({ prompts }) => {
|
| 162 |
+
const [open, setOpen] = React.useState(false);
|
| 163 |
+
const [feedback, setFeedback] = React.useState("Call in an answer.");
|
| 164 |
+
|
| 165 |
+
const wrapper = css`
|
| 166 |
+
font-family: "PT Sans", sans-serif;
|
| 167 |
+
font-size: 16px;
|
| 168 |
+
font-size: clamp(16px, 2.4vw, 21px);
|
| 169 |
+
height: 2.5em;
|
| 170 |
+
|
| 171 |
+
button {
|
| 172 |
+
background: #555;
|
| 173 |
+
border: none;
|
| 174 |
+
border-radius: 2px;
|
| 175 |
+
color: #fff;
|
| 176 |
+
cursor: pointer;
|
| 177 |
+
display: inline-block;
|
| 178 |
+
font-size: 1em;
|
| 179 |
+
font-family: "PT Sans", sans-serif;
|
| 180 |
+
font-weight: bold;
|
| 181 |
+
line-height: 1.2;
|
| 182 |
+
padding: 0.25em 1em;
|
| 183 |
+
text-align: center;
|
| 184 |
+
text-decoration: none;
|
| 185 |
+
text-transform: none;
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
p {
|
| 189 |
+
margin: 0 0 1em;
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
a {
|
| 193 |
+
color: inherit !important;
|
| 194 |
+
}
|
| 195 |
+
`;
|
| 196 |
+
|
| 197 |
+
const btnTop = [2015, 2016].includes(getYear())
|
| 198 |
+
? "50px"
|
| 199 |
+
: [2012].includes(getYear())
|
| 200 |
+
? "-2.5em"
|
| 201 |
+
: "0px";
|
| 202 |
+
|
| 203 |
+
const button = css`
|
| 204 |
+
box-sizing: border-box;
|
| 205 |
+
height: 2.5em;
|
| 206 |
+
left: 0;
|
| 207 |
+
position: absolute;
|
| 208 |
+
top: ${btnTop};
|
| 209 |
+
width: 100%;
|
| 210 |
+
z-index: 9999;
|
| 211 |
+
`;
|
| 212 |
+
|
| 213 |
+
const dropdownWrapper = css`
|
| 214 |
+
background: #edeff0;
|
| 215 |
+
color: #121212;
|
| 216 |
+
left: 0;
|
| 217 |
+
position: absolute;
|
| 218 |
+
right: 0;
|
| 219 |
+
top: calc(2.5em + ${btnTop});
|
| 220 |
+
z-index: 9999;
|
| 221 |
+
`;
|
| 222 |
+
|
| 223 |
+
const dropdown = css`
|
| 224 |
+
margin: 0 auto;
|
| 225 |
+
max-width: 40em;
|
| 226 |
+
padding: 1em;
|
| 227 |
+
z-index: 9999;
|
| 228 |
+
`;
|
| 229 |
+
|
| 230 |
+
const responses = css`
|
| 231 |
+
margin: 0 auto;
|
| 232 |
+
width: fit-content;
|
| 233 |
+
|
| 234 |
+
@media (max-width: 600px) {
|
| 235 |
+
width: auto;
|
| 236 |
+
}
|
| 237 |
+
`;
|
| 238 |
+
|
| 239 |
+
const onClick = () => setOpen(!open);
|
| 240 |
+
|
| 241 |
+
const body =
|
| 242 |
+
prompts.length > 0
|
| 243 |
+
? prompts.map(
|
| 244 |
+
(group) =>
|
| 245 |
+
html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
|
| 246 |
+
)
|
| 247 |
+
: html`<p>
|
| 248 |
+
No answers found on this page. Please report this to${" "}
|
| 249 |
+
<a href="mailto:puzzle@mit.edu">puzzle@mit.edu</a>.
|
| 250 |
+
</p>`;
|
| 251 |
+
|
| 252 |
+
return html`
|
| 253 |
+
<style>
|
| 254 |
+
@import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap");
|
| 255 |
+
|
| 256 |
+
${[2015, 2016].includes(getYear()) &&
|
| 257 |
+
".navbar-fixed-top { z-index: 10000 }"}
|
| 258 |
+
${[2012].includes(getYear()) &&
|
| 259 |
+
"body { top: 2.5em } #check-answer, #shortcuts { z-index: 10000 !important }"}
|
| 260 |
+
${[2006].includes(getYear()) && 'img[alt="Check Answer"] { display: none }'}
|
| 261 |
+
</style>
|
| 262 |
+
<div class=${wrapper}>
|
| 263 |
+
<button class=${button} onClick=${onClick}>
|
| 264 |
+
Check your answers spoiler-free
|
| 265 |
+
</button>
|
| 266 |
+
${open &&
|
| 267 |
+
html`
|
| 268 |
+
<div class=${dropdownWrapper}>
|
| 269 |
+
<div class=${dropdown}>
|
| 270 |
+
<p>${feedback}</p>
|
| 271 |
+
<div class=${responses}>${body}</div>
|
| 272 |
+
</div>
|
| 273 |
+
</div>
|
| 274 |
+
`}
|
| 275 |
+
</div>
|
| 276 |
+
`;
|
| 277 |
+
};
|
| 278 |
+
|
| 279 |
+
const data = await getData();
|
| 280 |
+
const prompts = getAnswers(data, document.URL);
|
| 281 |
+
render(html`<${CheckButton} prompts=${prompts} />`, container);
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_6.html/index.html
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<title>ACMECorp: Section 7</title>
|
| 5 |
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 6 |
+
</head>
|
| 7 |
+
|
| 8 |
+
<body bgcolor=white><!--CUT--><div align=right><small><a href="../../solutions/m7.html">(Meta-puzzle solution)</a></small></div><!--CUT--><font face="arial">
|
| 9 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 10 |
+
<tr>
|
| 11 |
+
<td><img src="images/head7.jpg"></td>
|
| 12 |
+
</tr>
|
| 13 |
+
</table>
|
| 14 |
+
<p><strong><font face="Arial">Section 7</font></strong></p>
|
| 15 |
+
|
| 16 |
+
<em>Saturday the boss went out for drinks.</em>
|
| 17 |
+
|
| 18 |
+
<p>
|
| 19 |
+
|
| 20 |
+
<em>The bartender, a large genial Irishman who's happy to assist you, remembers him. "He was a regular here, always left a couple dollars as a tip. Nice guy. Saturday, he comes in here with a date--real knockout, she was--and buys drinks for the two of them. But here's what blows my mind: he spends the whole time doodling on the napkins instead of paying attention to her.</em>
|
| 21 |
+
|
| 22 |
+
<p>
|
| 23 |
+
|
| 24 |
+
<em>"I kept 'em in case he came back, thought they might be part of his business or something. Wanna see 'em?"</em>
|
| 25 |
+
|
| 26 |
+
<p><ol>
|
| 27 |
+
<li><a href="7_1.html">Smush</a></li>
|
| 28 |
+
<li><a href="7_2.html">When Johnny Comes Marching Home</a></li>
|
| 29 |
+
<li><a href="7_3.html">Set Match</a></li>
|
| 30 |
+
<li><a href="7_4.html">Mixed Drink</a></li>
|
| 31 |
+
<li><a href="7_5.html">Folderol</a></li>
|
| 32 |
+
<li><a href="7_6.html">Squiggles</a></li>
|
| 33 |
+
<li><a href="7_7.html">That's Right</a></li>
|
| 34 |
+
<li><a href="7_8.html">Dream Getaway</a></li>
|
| 35 |
+
</ol>
|
| 36 |
+
</p>
|
| 37 |
+
<p> </p>
|
| 38 |
+
<p> </p>
|
| 39 |
+
<p> </p>
|
| 40 |
+
<p> </p>
|
| 41 |
+
<p> </p>
|
| 42 |
+
<a href="../index.html">Back to the index</a>
|
| 43 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 44 |
+
<tr>
|
| 45 |
+
<td><img src="images/foot7.jpg"></td>
|
| 46 |
+
</tr>
|
| 47 |
+
</table>
|
| 48 |
+
</body><script type="module" src="/checkanswer.js"></script>
|
| 49 |
+
</html>
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_6.html/squiggles.html
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| 2 |
+
<HTML>
|
| 3 |
+
<HEAD>
|
| 4 |
+
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
| 5 |
+
<META NAME="Author" CONTENT="Lance Nathan">
|
| 6 |
+
<META NAME="GENERATOR" CONTENT="me typing damnit">
|
| 7 |
+
<TITLE>Squiggles</TITLE>
|
| 8 |
+
</HEAD>
|
| 9 |
+
<BODY BGCOLOR="#ffffff">
|
| 10 |
+
|
| 11 |
+
<h2>M Puzzle: Squiggles</h2>
|
| 12 |
+
<h3>by Marc Moskowitz</h3>
|
| 13 |
+
|
| 14 |
+
<p>
|
| 15 |
+
|
| 16 |
+
As the flavortext suggests, this puzzle involves "enunciating clearly and speaking coherently" and the IPA--that is, the International Phonetic Alphabet. The squiggles are, in essence, an alphabet for writing English phonetically, of the sort George Bernard Shaw once devised. (There is <a href="squiggles.pdf">an explanation of sorts in PDF</a> or <a href="squiggles.ps">in PS</a>.)
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
<p>
|
| 20 |
+
|
| 21 |
+
Appropriately, then, these are all quotes from his play <cite>Pygmalion</cite>:
|
| 22 |
+
|
| 23 |
+
<ul>
|
| 24 |
+
<li>It is these little (graces) things that matter, Pickering. Take care of the pence and the pounds will take care of themselves is as true of personal habits as of money. </li>
|
| 25 |
+
<li>Henry: you are the life and soul of the Royal Society's (receptions) soir�es; but really youre rather trying on more commonplace occasions. </li>
|
| 26 |
+
<li>You see, Eliza, all men are not (out-and-out) confirmed old bachelors like me and the Colonel. </li>
|
| 27 |
+
<li>Why should she die of influenza? She come through (pneumonia) diphtheria right enough the year before. </li>
|
| 28 |
+
<li>She doesnt belong to him. I paid him five pounds for her. Doolittle: either youre an honest man or a (devil) rogue.</li>
|
| 29 |
+
<li>This ring isnt the jeweler's: it's the one you bought me in (London) Brighton. I dont want it now. </li>
|
| 30 |
+
<li>If you had told me that Mr. Henry was not in a state it would have been more (eye-opening) surprising. Tell them to come up when theyve finished with the police. </li>
|
| 31 |
+
<li>The (nobility) advantages of that poor woman who was here just now! The manners and habits that disqualify a fine lady from earning her own living without giving her a fine lady's income! Is that what you mean?</li>
|
| 32 |
+
</ul>
|
| 33 |
+
|
| 34 |
+
<p>
|
| 35 |
+
|
| 36 |
+
Each word in parentheses has replaced the word that follows it. The incorrect words are GRACES, RECEPTIONS, OUT-AND-OUT, PNEUMONIA, DEVIL, LONDON, EYE-OPENING, NOBILITY. Taking the first letters gives the gibberish "gropdlen," but taking the first <em>sounds</em> gives the answer, which is GROUND LINE.
|
| 37 |
+
|
| 38 |
+
<p>
|
| 39 |
+
|
| 40 |
+
Training:
|
| 41 |
+
|
| 42 |
+
<p>
|
| 43 |
+
|
| 44 |
+
The reference to mapping in the flavortext indicates that "Cartography" is the training puzzle to apply. Decrypting GROUND LINE using the code in that puzzle gives the trained answer, which is FISCAL YEAR.
|
| 45 |
+
|
| 46 |
+
</BODY>
|
| 47 |
+
</HTML>
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_7.html/7_7.html
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| 2 |
+
<HTML>
|
| 3 |
+
<HEAD>
|
| 4 |
+
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
| 5 |
+
<META NAME="Author" CONTENT="ACMECorp">
|
| 6 |
+
<META NAME="GENERATOR" CONTENT="Document Archivists">
|
| 7 |
+
<TITLE>That's Right</TITLE>
|
| 8 |
+
</HEAD>
|
| 9 |
+
<BODY BGCOLOR="#ffffff"><!--CUT--><div align=right><small><a href="../../solutions/thats-right.html">(Solution)</a></small></div><!--CUT--><FONT FACE="arial">
|
| 10 |
+
|
| 11 |
+
<table width="100%">
|
| 12 |
+
<tr>
|
| 13 |
+
<td><img src="images/head7.jpg"></td>
|
| 14 |
+
</tr>
|
| 15 |
+
</table>
|
| 16 |
+
|
| 17 |
+
<strong><h2>Document 7.7: That's Right</h2></strong>
|
| 18 |
+
|
| 19 |
+
<p>
|
| 20 |
+
|
| 21 |
+
<em>Unsurprisingly, perhaps, at this point, you find another puzzle grid among the napkins. More surprisingly, upon examination, it actually contains instructions: "Each entry in this grid starts from its numbered square and travels in any orthogonal direction, making exactly one right-angled turn at some point."</em>
|
| 22 |
+
|
| 23 |
+
<p>
|
| 24 |
+
|
| 25 |
+
<em>"Well, at least we know how to treat this one," you optimistically state.</em>
|
| 26 |
+
|
| 27 |
+
<p>
|
| 28 |
+
|
| 29 |
+
<em>"You never know - it could take a turn for the worse."</em>
|
| 30 |
+
|
| 31 |
+
<p>
|
| 32 |
+
|
| 33 |
+
<center><img src="images/thats-right.jpg"></center>
|
| 34 |
+
|
| 35 |
+
<p>
|
| 36 |
+
|
| 37 |
+
<table border="0" align="center" width="80%">
|
| 38 |
+
<tr><td width="50%" valign="top"><ol>
|
| 39 |
+
<li value="1">Imminent: 3 wds. (15)</li>
|
| 40 |
+
<li value="2">Crush, e.g.: 2 wds. (10)</li>
|
| 41 |
+
<li value="3">Like Oscar Madison, to put it mildly (6)</li>
|
| 42 |
+
<li value="4">Used one's reservations: 2 wds. (8)</li>
|
| 43 |
+
<li value="5">He played his last U.S. Open in 1994: 2 wds. (12)</li>
|
| 44 |
+
<li value="6">Do some pre-Xmas preparation (4)</li>
|
| 45 |
+
<li value="7">Red inside (4)</li>
|
| 46 |
+
<li value="8">Dish topped with browned bread crumbs (6)</li>
|
| 47 |
+
<li value="9">Quarrel (5)</li>
|
| 48 |
+
<li value="10">From Spain or Portugal (7)</li>
|
| 49 |
+
<li value="11">Like items at garage sales (4)</li>
|
| 50 |
+
<li value="12">Word before coat or mouth (6)</li>
|
| 51 |
+
<li value="13">Use feng shui, perhaps (10)</li>
|
| 52 |
+
<li value="14">Transition (5)</li>
|
| 53 |
+
<li value="15">Julia's ex (4)</li>
|
| 54 |
+
<li value="16">1967 Rookie of the Year awardee: 2 wds. (8)</li>
|
| 55 |
+
<li value="17">Exchange (4)</li>
|
| 56 |
+
<li value="18">Boorish (5)</li>
|
| 57 |
+
<li value="19">Unlike Voldemort? (7)</li>
|
| 58 |
+
<li value="20">Curve (3)</li>
|
| 59 |
+
<li value="21">Sea creature on a Magic card: 2 wds. (8)</li>
|
| 60 |
+
<li value="22">Beauty shop treatments (7)</li>
|
| 61 |
+
</ol><td width="50%" valign="top"><ol>
|
| 62 |
+
<li value="22">Old fogy (6)</li>
|
| 63 |
+
<li value="23">Rap sheet datum (6)</li>
|
| 64 |
+
<li value="24">Ford model (6)</li>
|
| 65 |
+
<li value="24">Support financially (4)</li>
|
| 66 |
+
<li value="25">What answer 5 likes to be: 2 wds. (8)</li>
|
| 67 |
+
<li value="26">Witch in a Miyazaki film (4)</li>
|
| 68 |
+
<li value="27">TV show with a Gorey intro (7)</li>
|
| 69 |
+
<li value="28">Inverness residents (5)</li>
|
| 70 |
+
<li value="29">Prelude to a comment (4)</li>
|
| 71 |
+
<li value="30">Use a prie-dieu (5)</li>
|
| 72 |
+
<li value="31">It's set in Titipu: 2 wds. (9)</li>
|
| 73 |
+
<li value="32">Facsimile (7)</li>
|
| 74 |
+
<li value="33">Where two-seaters might land (7)</li>
|
| 75 |
+
<li value="33">43,560 square feet (4)</li>
|
| 76 |
+
<li value="34">Lean (4)</li>
|
| 77 |
+
<li value="35">Local branch (7)</li>
|
| 78 |
+
<li value="36">He wasn't old, but he was a man: 2 wds. (9)</li>
|
| 79 |
+
<li value="37">Part of some funeral rites (4)</li>
|
| 80 |
+
<li value="38">Fictional governess: 2 wds (8)</li>
|
| 81 |
+
<li value="39">"99 Luftballoons" singer (4)</li>
|
| 82 |
+
<li value="40">He directed Marlon in three films (4)</li>
|
| 83 |
+
</ol></td></tr>
|
| 84 |
+
</table>
|
| 85 |
+
|
| 86 |
+
<p><br><p>
|
| 87 |
+
|
| 88 |
+
<a href="index.html">Back to the index</a>
|
| 89 |
+
|
| 90 |
+
<table width="100%">
|
| 91 |
+
<tr>
|
| 92 |
+
<td><img src="images/foot7.jpg"></td>
|
| 93 |
+
</tr>
|
| 94 |
+
</table>
|
| 95 |
+
|
| 96 |
+
</FONT>
|
| 97 |
+
</body><script type="module" src="/checkanswer.js"></script><script type="module" src="/checkanswer.js"></script>
|
| 98 |
+
</HTML>
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_7.html/checkanswer.js
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Do this first so that layout shift isn't too bad:
|
| 2 |
+
const container = document.createElement("div");
|
| 3 |
+
container.style = `
|
| 4 |
+
font-size: 16px;
|
| 5 |
+
font-size: clamp(16px, 2.4vw, 21px);
|
| 6 |
+
height: 2.5em;
|
| 7 |
+
`;
|
| 8 |
+
document.body.prepend(container);
|
| 9 |
+
|
| 10 |
+
import { React, html, css, render } from "./package.js";
|
| 11 |
+
|
| 12 |
+
/**
|
| 13 |
+
* Remove non-alphanumeric characters.
|
| 14 |
+
*/
|
| 15 |
+
const normalizeAnswer = (answer) => {
|
| 16 |
+
if (getYear() === 2003) {
|
| 17 |
+
if (document.URL.includes("teamGuest/2")) {
|
| 18 |
+
// Special case: 2003 R2, whose answers are emoji.
|
| 19 |
+
return answer.trim();
|
| 20 |
+
} else if (document.URL.includes("6_3")) {
|
| 21 |
+
// Special case: Answer is literal Greek letter.
|
| 22 |
+
return answer.trim();
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
|
| 26 |
+
};
|
| 27 |
+
|
| 28 |
+
/**
|
| 29 |
+
* Returns the year of the hunt we're in.
|
| 30 |
+
*/
|
| 31 |
+
const getYear = () => {
|
| 32 |
+
return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
|
| 33 |
+
};
|
| 34 |
+
|
| 35 |
+
/**
|
| 36 |
+
* Fetches the answers as a list of {url, answer, prompt, intermediate}.
|
| 37 |
+
*/
|
| 38 |
+
const getData = async () => {
|
| 39 |
+
const res = await fetch("/answers.tsv");
|
| 40 |
+
const data = await res.text();
|
| 41 |
+
const [header, ...body] = data.split("\n");
|
| 42 |
+
const headers = header.trim().split("\t");
|
| 43 |
+
return body.map((row) => {
|
| 44 |
+
const res = {};
|
| 45 |
+
row.split("\t").forEach((item, i) => {
|
| 46 |
+
res[headers[i]] = item.trim();
|
| 47 |
+
});
|
| 48 |
+
return res;
|
| 49 |
+
});
|
| 50 |
+
};
|
| 51 |
+
|
| 52 |
+
/**
|
| 53 |
+
* Gets the base URL; removes trailing index.html and .html, removes everything
|
| 54 |
+
* before the year, and then removes trailing slash.
|
| 55 |
+
*/
|
| 56 |
+
const getBase = (url) => {
|
| 57 |
+
const root =
|
| 58 |
+
RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
|
| 59 |
+
RegExp(`^(.*).html`).exec(url)?.[1] ??
|
| 60 |
+
url;
|
| 61 |
+
const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
|
| 62 |
+
return base.endsWith("/") ? base.slice(0, -1) : base;
|
| 63 |
+
};
|
| 64 |
+
|
| 65 |
+
/**
|
| 66 |
+
* Get all rows in the data corresponding to a given URL. Group by same prompt.
|
| 67 |
+
*/
|
| 68 |
+
const getAnswers = (data, url) => {
|
| 69 |
+
const base = getBase(url);
|
| 70 |
+
const rows = data.filter((row) => getBase(row.url) === base);
|
| 71 |
+
const prompts = [];
|
| 72 |
+
for (const row of rows) {
|
| 73 |
+
const { prompt } = row;
|
| 74 |
+
const group = prompts.find((group) => group.prompt === prompt);
|
| 75 |
+
if (group) {
|
| 76 |
+
group.rows.push(row);
|
| 77 |
+
} else {
|
| 78 |
+
prompts.push({ prompt, rows: [row] });
|
| 79 |
+
}
|
| 80 |
+
}
|
| 81 |
+
return prompts;
|
| 82 |
+
};
|
| 83 |
+
|
| 84 |
+
/**
|
| 85 |
+
* A single textbox and submit button in the rows of possible responses.
|
| 86 |
+
*/
|
| 87 |
+
const ResponseRow = ({ prompt, rows, setFeedback }) => {
|
| 88 |
+
const [response, setResponse] = React.useState("");
|
| 89 |
+
|
| 90 |
+
const form = css`
|
| 91 |
+
align-items: baseline;
|
| 92 |
+
display: flex;
|
| 93 |
+
justify-content: right;
|
| 94 |
+
margin-bottom: 0.5em;
|
| 95 |
+
|
| 96 |
+
@media (max-width: 600px) {
|
| 97 |
+
align-items: flex-start;
|
| 98 |
+
flex-direction: column;
|
| 99 |
+
}
|
| 100 |
+
`;
|
| 101 |
+
|
| 102 |
+
const input = css`
|
| 103 |
+
background: #fafafa;
|
| 104 |
+
border: 1px solid #aaa;
|
| 105 |
+
border-radius: 2px;
|
| 106 |
+
color: #121212;
|
| 107 |
+
font-family: inherit;
|
| 108 |
+
font-size: 100%;
|
| 109 |
+
line-height: 1.2;
|
| 110 |
+
margin: 0 0.5em;
|
| 111 |
+
padding: 0.25em 0.5em;
|
| 112 |
+
|
| 113 |
+
@media (max-width: 600px) {
|
| 114 |
+
margin: 0 0 0.25em;
|
| 115 |
+
}
|
| 116 |
+
`;
|
| 117 |
+
|
| 118 |
+
const onSubmit = (e) => {
|
| 119 |
+
e.preventDefault();
|
| 120 |
+
let set = false;
|
| 121 |
+
for (const row of rows) {
|
| 122 |
+
const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
|
| 123 |
+
if (correct) {
|
| 124 |
+
setFeedback(
|
| 125 |
+
row.intermediate?.trim() === "TRUE"
|
| 126 |
+
? "Correct! See the solution page for the answer."
|
| 127 |
+
: `Solved! The answer was ${row.answer}.`
|
| 128 |
+
);
|
| 129 |
+
set = true;
|
| 130 |
+
break;
|
| 131 |
+
}
|
| 132 |
+
}
|
| 133 |
+
if (!set) {
|
| 134 |
+
setFeedback("Incorrect.");
|
| 135 |
+
}
|
| 136 |
+
};
|
| 137 |
+
|
| 138 |
+
const onChange = (e) => setResponse(e.target.value);
|
| 139 |
+
|
| 140 |
+
return html`
|
| 141 |
+
<form class=${form} onSubmit=${onSubmit}>
|
| 142 |
+
<label htmlFor=${prompt + " prompt"}>
|
| 143 |
+
${prompt || "Enter your guess"}:
|
| 144 |
+
</label>
|
| 145 |
+
<input
|
| 146 |
+
class=${input}
|
| 147 |
+
id=${prompt + " prompt"}
|
| 148 |
+
onChange=${onChange}
|
| 149 |
+
required
|
| 150 |
+
type="text"
|
| 151 |
+
value=${response}
|
| 152 |
+
/>
|
| 153 |
+
<button type="submit">Submit</button>
|
| 154 |
+
</form>
|
| 155 |
+
`;
|
| 156 |
+
};
|
| 157 |
+
|
| 158 |
+
/**
|
| 159 |
+
* Check answer button, rendered at top of page.
|
| 160 |
+
*/
|
| 161 |
+
const CheckButton = ({ prompts }) => {
|
| 162 |
+
const [open, setOpen] = React.useState(false);
|
| 163 |
+
const [feedback, setFeedback] = React.useState("Call in an answer.");
|
| 164 |
+
|
| 165 |
+
const wrapper = css`
|
| 166 |
+
font-family: "PT Sans", sans-serif;
|
| 167 |
+
font-size: 16px;
|
| 168 |
+
font-size: clamp(16px, 2.4vw, 21px);
|
| 169 |
+
height: 2.5em;
|
| 170 |
+
|
| 171 |
+
button {
|
| 172 |
+
background: #555;
|
| 173 |
+
border: none;
|
| 174 |
+
border-radius: 2px;
|
| 175 |
+
color: #fff;
|
| 176 |
+
cursor: pointer;
|
| 177 |
+
display: inline-block;
|
| 178 |
+
font-size: 1em;
|
| 179 |
+
font-family: "PT Sans", sans-serif;
|
| 180 |
+
font-weight: bold;
|
| 181 |
+
line-height: 1.2;
|
| 182 |
+
padding: 0.25em 1em;
|
| 183 |
+
text-align: center;
|
| 184 |
+
text-decoration: none;
|
| 185 |
+
text-transform: none;
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
p {
|
| 189 |
+
margin: 0 0 1em;
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
a {
|
| 193 |
+
color: inherit !important;
|
| 194 |
+
}
|
| 195 |
+
`;
|
| 196 |
+
|
| 197 |
+
const btnTop = [2015, 2016].includes(getYear())
|
| 198 |
+
? "50px"
|
| 199 |
+
: [2012].includes(getYear())
|
| 200 |
+
? "-2.5em"
|
| 201 |
+
: "0px";
|
| 202 |
+
|
| 203 |
+
const button = css`
|
| 204 |
+
box-sizing: border-box;
|
| 205 |
+
height: 2.5em;
|
| 206 |
+
left: 0;
|
| 207 |
+
position: absolute;
|
| 208 |
+
top: ${btnTop};
|
| 209 |
+
width: 100%;
|
| 210 |
+
z-index: 9999;
|
| 211 |
+
`;
|
| 212 |
+
|
| 213 |
+
const dropdownWrapper = css`
|
| 214 |
+
background: #edeff0;
|
| 215 |
+
color: #121212;
|
| 216 |
+
left: 0;
|
| 217 |
+
position: absolute;
|
| 218 |
+
right: 0;
|
| 219 |
+
top: calc(2.5em + ${btnTop});
|
| 220 |
+
z-index: 9999;
|
| 221 |
+
`;
|
| 222 |
+
|
| 223 |
+
const dropdown = css`
|
| 224 |
+
margin: 0 auto;
|
| 225 |
+
max-width: 40em;
|
| 226 |
+
padding: 1em;
|
| 227 |
+
z-index: 9999;
|
| 228 |
+
`;
|
| 229 |
+
|
| 230 |
+
const responses = css`
|
| 231 |
+
margin: 0 auto;
|
| 232 |
+
width: fit-content;
|
| 233 |
+
|
| 234 |
+
@media (max-width: 600px) {
|
| 235 |
+
width: auto;
|
| 236 |
+
}
|
| 237 |
+
`;
|
| 238 |
+
|
| 239 |
+
const onClick = () => setOpen(!open);
|
| 240 |
+
|
| 241 |
+
const body =
|
| 242 |
+
prompts.length > 0
|
| 243 |
+
? prompts.map(
|
| 244 |
+
(group) =>
|
| 245 |
+
html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
|
| 246 |
+
)
|
| 247 |
+
: html`<p>
|
| 248 |
+
No answers found on this page. Please report this to${" "}
|
| 249 |
+
<a href="mailto:puzzle@mit.edu">puzzle@mit.edu</a>.
|
| 250 |
+
</p>`;
|
| 251 |
+
|
| 252 |
+
return html`
|
| 253 |
+
<style>
|
| 254 |
+
@import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap");
|
| 255 |
+
|
| 256 |
+
${[2015, 2016].includes(getYear()) &&
|
| 257 |
+
".navbar-fixed-top { z-index: 10000 }"}
|
| 258 |
+
${[2012].includes(getYear()) &&
|
| 259 |
+
"body { top: 2.5em } #check-answer, #shortcuts { z-index: 10000 !important }"}
|
| 260 |
+
${[2006].includes(getYear()) && 'img[alt="Check Answer"] { display: none }'}
|
| 261 |
+
</style>
|
| 262 |
+
<div class=${wrapper}>
|
| 263 |
+
<button class=${button} onClick=${onClick}>
|
| 264 |
+
Check your answers spoiler-free
|
| 265 |
+
</button>
|
| 266 |
+
${open &&
|
| 267 |
+
html`
|
| 268 |
+
<div class=${dropdownWrapper}>
|
| 269 |
+
<div class=${dropdown}>
|
| 270 |
+
<p>${feedback}</p>
|
| 271 |
+
<div class=${responses}>${body}</div>
|
| 272 |
+
</div>
|
| 273 |
+
</div>
|
| 274 |
+
`}
|
| 275 |
+
</div>
|
| 276 |
+
`;
|
| 277 |
+
};
|
| 278 |
+
|
| 279 |
+
const data = await getData();
|
| 280 |
+
const prompts = getAnswers(data, document.URL);
|
| 281 |
+
render(html`<${CheckButton} prompts=${prompts} />`, container);
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_7.html/index.html
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<title>ACMECorp: Section 7</title>
|
| 5 |
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 6 |
+
</head>
|
| 7 |
+
|
| 8 |
+
<body bgcolor=white><!--CUT--><div align=right><small><a href="../../solutions/m7.html">(Meta-puzzle solution)</a></small></div><!--CUT--><font face="arial">
|
| 9 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 10 |
+
<tr>
|
| 11 |
+
<td><img src="images/head7.jpg"></td>
|
| 12 |
+
</tr>
|
| 13 |
+
</table>
|
| 14 |
+
<p><strong><font face="Arial">Section 7</font></strong></p>
|
| 15 |
+
|
| 16 |
+
<em>Saturday the boss went out for drinks.</em>
|
| 17 |
+
|
| 18 |
+
<p>
|
| 19 |
+
|
| 20 |
+
<em>The bartender, a large genial Irishman who's happy to assist you, remembers him. "He was a regular here, always left a couple dollars as a tip. Nice guy. Saturday, he comes in here with a date--real knockout, she was--and buys drinks for the two of them. But here's what blows my mind: he spends the whole time doodling on the napkins instead of paying attention to her.</em>
|
| 21 |
+
|
| 22 |
+
<p>
|
| 23 |
+
|
| 24 |
+
<em>"I kept 'em in case he came back, thought they might be part of his business or something. Wanna see 'em?"</em>
|
| 25 |
+
|
| 26 |
+
<p><ol>
|
| 27 |
+
<li><a href="7_1.html">Smush</a></li>
|
| 28 |
+
<li><a href="7_2.html">When Johnny Comes Marching Home</a></li>
|
| 29 |
+
<li><a href="7_3.html">Set Match</a></li>
|
| 30 |
+
<li><a href="7_4.html">Mixed Drink</a></li>
|
| 31 |
+
<li><a href="7_5.html">Folderol</a></li>
|
| 32 |
+
<li><a href="7_6.html">Squiggles</a></li>
|
| 33 |
+
<li><a href="7_7.html">That's Right</a></li>
|
| 34 |
+
<li><a href="7_8.html">Dream Getaway</a></li>
|
| 35 |
+
</ol>
|
| 36 |
+
</p>
|
| 37 |
+
<p> </p>
|
| 38 |
+
<p> </p>
|
| 39 |
+
<p> </p>
|
| 40 |
+
<p> </p>
|
| 41 |
+
<p> </p>
|
| 42 |
+
<a href="../index.html">Back to the index</a>
|
| 43 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 44 |
+
<tr>
|
| 45 |
+
<td><img src="images/foot7.jpg"></td>
|
| 46 |
+
</tr>
|
| 47 |
+
</table>
|
| 48 |
+
</body><script type="module" src="/checkanswer.js"></script>
|
| 49 |
+
</html>
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_7.html/thats-right.html
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| 2 |
+
<HTML>
|
| 3 |
+
<HEAD>
|
| 4 |
+
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
| 5 |
+
<META NAME="Author" CONTENT="Lance Nathan">
|
| 6 |
+
<META NAME="GENERATOR" CONTENT="me typing damnit">
|
| 7 |
+
<TITLE>That's Right</TITLE>
|
| 8 |
+
</HEAD>
|
| 9 |
+
<BODY BGCOLOR="#ffffff">
|
| 10 |
+
|
| 11 |
+
<h2>M Puzzle: That's Right</h2>
|
| 12 |
+
<h3>by Francis Heaney</h3>
|
| 13 |
+
|
| 14 |
+
<p>
|
| 15 |
+
|
| 16 |
+
The clue answers are as follows:
|
| 17 |
+
|
| 18 |
+
<pre>
|
| 19 |
+
1 AROUND THE CORNER
|
| 20 |
+
2 ORANGE SODA
|
| 21 |
+
3 UNTIDY
|
| 22 |
+
4 DINED OUT
|
| 23 |
+
5 ARNOLD PALMER
|
| 24 |
+
6 WRAP
|
| 25 |
+
7 RARE
|
| 26 |
+
8 GRATIN
|
| 27 |
+
9 ARGUE
|
| 28 |
+
10 IBERIAN
|
| 29 |
+
11 USED
|
| 30 |
+
12 TRENCH
|
| 31 |
+
13 REDECORATE
|
| 32 |
+
14 SEGUE
|
| 33 |
+
15 LYLE
|
| 34 |
+
16 ROD CAREW
|
| 35 |
+
17 SWAP
|
| 36 |
+
18 CRASS
|
| 37 |
+
19 NAMABLE
|
| 38 |
+
20 ARC
|
| 39 |
+
21 MANTA RAY
|
| 40 |
+
22 FACIALS
|
| 41 |
+
22 FOSSIL
|
| 42 |
+
23 ARREST
|
| 43 |
+
24 FIESTA
|
| 44 |
+
24 FUND
|
| 45 |
+
25 UNDER PAR
|
| 46 |
+
26 KIKI
|
| 47 |
+
27 MYSTERY
|
| 48 |
+
28 GAELS
|
| 49 |
+
29 AHEM
|
| 50 |
+
30 KNEEL
|
| 51 |
+
31 THE MIKADO
|
| 52 |
+
32 REPLICA
|
| 53 |
+
33 AIRPARK
|
| 54 |
+
33 ACRE
|
| 55 |
+
34 LIST
|
| 56 |
+
35 CHAPTER
|
| 57 |
+
36 HAPPY JACK
|
| 58 |
+
37 PYRE
|
| 59 |
+
38 JANE EYRE
|
| 60 |
+
39 NENA
|
| 61 |
+
40 ELIA
|
| 62 |
+
</pre>
|
| 63 |
+
|
| 64 |
+
When they are entered into the grid, most of the squares are used exactly twice. If you highlight the ones that are only used once -
|
| 65 |
+
|
| 66 |
+
<p>
|
| 67 |
+
|
| 68 |
+
<center><img src="thats-right.gif"></center>
|
| 69 |
+
|
| 70 |
+
<p>
|
| 71 |
+
|
| 72 |
+
- you get the clue TEN BELOW BOILING IN C, which is NINETY DEGREES, the answer to the puzzle.
|
| 73 |
+
|
| 74 |
+
<p>
|
| 75 |
+
|
| 76 |
+
Training:
|
| 77 |
+
|
| 78 |
+
<p>
|
| 79 |
+
|
| 80 |
+
Or it would be, if there weren't a training puzzle involved. References to "examination", "how to treat this", and "a turn for the worse" suggest a medical theme, which indicates that the "Doctoring" training puzzle is needed. The answer to that is HALVE, so the real final answer is FORTY-FIVE DEGREES.
|
| 81 |
+
|
| 82 |
+
</body>
|
| 83 |
+
</html>
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_8.html/7_8.html
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| 2 |
+
<HTML>
|
| 3 |
+
<HEAD>
|
| 4 |
+
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
| 5 |
+
<META NAME="Author" CONTENT="ACMECorp">
|
| 6 |
+
<META NAME="GENERATOR" CONTENT="Document Archivists">
|
| 7 |
+
<TITLE>Dream Getaway</TITLE>
|
| 8 |
+
</HEAD>
|
| 9 |
+
<BODY BGCOLOR="#ffffff"><!--CUT--><div align=right><small><a href="../../solutions/dream-getaway.html">(Solution)</a></small></div><!--CUT--><FONT FACE="arial">
|
| 10 |
+
|
| 11 |
+
<table width="100%">
|
| 12 |
+
<tr>
|
| 13 |
+
<td><img src="images/head7.jpg"></td>
|
| 14 |
+
</tr>
|
| 15 |
+
</table>
|
| 16 |
+
|
| 17 |
+
<strong><h2>Document 7.8: Dream Getaway</h2></strong>
|
| 18 |
+
|
| 19 |
+
<p>
|
| 20 |
+
|
| 21 |
+
<em>"He seemed to be lost in his own thoughts," said the bartender. "He told me lately he'd had fantasies of getting away from it all. It seemed like he'd read too many travel guides to me. Couldn't quite decide where to go. He kept adding destinations to his list. Sun, sand, scenery...he wanted it all. Finding that kind of place, though--that'd sure be some trick."</em>
|
| 22 |
+
|
| 23 |
+
<p>
|
| 24 |
+
|
| 25 |
+
A beautiful birdwatching spot on Cape Ann, as featured in a local birding journal in October 2001
|
| 26 |
+
|
| 27 |
+
<p>
|
| 28 |
+
|
| 29 |
+
A gathering space in Swansea, Wales that provides a focal point for the city, featuring live music and entertainment on summer days
|
| 30 |
+
|
| 31 |
+
<p>
|
| 32 |
+
|
| 33 |
+
A prime snorkeling spot in the fjords of Arabia
|
| 34 |
+
|
| 35 |
+
<p>
|
| 36 |
+
|
| 37 |
+
A quiet Indianapolis neighborhood bordered by Edgewood Road on the south, Gray Road and Sherman Drive on the east, Keystone on the west, and I-465 on the north
|
| 38 |
+
|
| 39 |
+
<p>
|
| 40 |
+
|
| 41 |
+
A small seaport community in the Bronx surrounded by the Long Island Sound and Eastchester Bay
|
| 42 |
+
|
| 43 |
+
<p>
|
| 44 |
+
|
| 45 |
+
Archeological site at Cullompton, Devon, UK believed to be remnants of a Roman military camp
|
| 46 |
+
|
| 47 |
+
<p>
|
| 48 |
+
|
| 49 |
+
Boutique retail district in the heart of downtown in Nevada's capital city
|
| 50 |
+
|
| 51 |
+
<p>
|
| 52 |
+
|
| 53 |
+
Charlestown park bordered by a famous English restaurant
|
| 54 |
+
|
| 55 |
+
<p>
|
| 56 |
+
|
| 57 |
+
Community north of the holiday town of Port Macquarie on the beautiful mid-north coast of New South Wales
|
| 58 |
+
|
| 59 |
+
<p>
|
| 60 |
+
|
| 61 |
+
Florida panhandle coastal area that gave its name to an endangered species of mouse
|
| 62 |
+
|
| 63 |
+
<p>
|
| 64 |
+
|
| 65 |
+
Ghost town also known as Melones on the Mother Lode belt in Calaveras County
|
| 66 |
+
|
| 67 |
+
<p>
|
| 68 |
+
|
| 69 |
+
Harney County, Oregon, summit 43118-E6
|
| 70 |
+
|
| 71 |
+
<p>
|
| 72 |
+
|
| 73 |
+
Historic park and symbolic gathering place in a planned city founded in 1913
|
| 74 |
+
|
| 75 |
+
<p>
|
| 76 |
+
|
| 77 |
+
North Carolina estuary site named after an environmental activist
|
| 78 |
+
|
| 79 |
+
<p>
|
| 80 |
+
|
| 81 |
+
Pristine Alaskan territory in the Stikine River, 15 miles Northeast of Wrangell
|
| 82 |
+
|
| 83 |
+
<p>
|
| 84 |
+
|
| 85 |
+
Quaint seaside resort in the heart of Hua Hin, Thailand
|
| 86 |
+
|
| 87 |
+
<p>
|
| 88 |
+
|
| 89 |
+
Remote Tasmanian seashore at 40° 25' S 144° 52' E
|
| 90 |
+
|
| 91 |
+
<p>
|
| 92 |
+
|
| 93 |
+
Rocky basin in New Zealand popular for climbing and bouldering
|
| 94 |
+
|
| 95 |
+
<p>
|
| 96 |
+
|
| 97 |
+
Scenic New Jersey site, named for a glorious Victorian mansion, that now houses a technological university
|
| 98 |
+
|
| 99 |
+
<p>
|
| 100 |
+
|
| 101 |
+
Seaside location in Falmouth, Cornwall where visitors can climb up a foot path to Pendennis Point
|
| 102 |
+
|
| 103 |
+
<p><br><p>
|
| 104 |
+
|
| 105 |
+
<a href="index.html">Back to the index</a>
|
| 106 |
+
|
| 107 |
+
<table width="100%">
|
| 108 |
+
<tr>
|
| 109 |
+
<td><img src="images/foot7.jpg"></td>
|
| 110 |
+
</tr>
|
| 111 |
+
</table>
|
| 112 |
+
|
| 113 |
+
</FONT>
|
| 114 |
+
</body><script type="module" src="/checkanswer.js"></script><script type="module" src="/checkanswer.js"></script>
|
| 115 |
+
</HTML>
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_8.html/checkanswer.js
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Do this first so that layout shift isn't too bad:
|
| 2 |
+
const container = document.createElement("div");
|
| 3 |
+
container.style = `
|
| 4 |
+
font-size: 16px;
|
| 5 |
+
font-size: clamp(16px, 2.4vw, 21px);
|
| 6 |
+
height: 2.5em;
|
| 7 |
+
`;
|
| 8 |
+
document.body.prepend(container);
|
| 9 |
+
|
| 10 |
+
import { React, html, css, render } from "./package.js";
|
| 11 |
+
|
| 12 |
+
/**
|
| 13 |
+
* Remove non-alphanumeric characters.
|
| 14 |
+
*/
|
| 15 |
+
const normalizeAnswer = (answer) => {
|
| 16 |
+
if (getYear() === 2003) {
|
| 17 |
+
if (document.URL.includes("teamGuest/2")) {
|
| 18 |
+
// Special case: 2003 R2, whose answers are emoji.
|
| 19 |
+
return answer.trim();
|
| 20 |
+
} else if (document.URL.includes("6_3")) {
|
| 21 |
+
// Special case: Answer is literal Greek letter.
|
| 22 |
+
return answer.trim();
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
|
| 26 |
+
};
|
| 27 |
+
|
| 28 |
+
/**
|
| 29 |
+
* Returns the year of the hunt we're in.
|
| 30 |
+
*/
|
| 31 |
+
const getYear = () => {
|
| 32 |
+
return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
|
| 33 |
+
};
|
| 34 |
+
|
| 35 |
+
/**
|
| 36 |
+
* Fetches the answers as a list of {url, answer, prompt, intermediate}.
|
| 37 |
+
*/
|
| 38 |
+
const getData = async () => {
|
| 39 |
+
const res = await fetch("/answers.tsv");
|
| 40 |
+
const data = await res.text();
|
| 41 |
+
const [header, ...body] = data.split("\n");
|
| 42 |
+
const headers = header.trim().split("\t");
|
| 43 |
+
return body.map((row) => {
|
| 44 |
+
const res = {};
|
| 45 |
+
row.split("\t").forEach((item, i) => {
|
| 46 |
+
res[headers[i]] = item.trim();
|
| 47 |
+
});
|
| 48 |
+
return res;
|
| 49 |
+
});
|
| 50 |
+
};
|
| 51 |
+
|
| 52 |
+
/**
|
| 53 |
+
* Gets the base URL; removes trailing index.html and .html, removes everything
|
| 54 |
+
* before the year, and then removes trailing slash.
|
| 55 |
+
*/
|
| 56 |
+
const getBase = (url) => {
|
| 57 |
+
const root =
|
| 58 |
+
RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
|
| 59 |
+
RegExp(`^(.*).html`).exec(url)?.[1] ??
|
| 60 |
+
url;
|
| 61 |
+
const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
|
| 62 |
+
return base.endsWith("/") ? base.slice(0, -1) : base;
|
| 63 |
+
};
|
| 64 |
+
|
| 65 |
+
/**
|
| 66 |
+
* Get all rows in the data corresponding to a given URL. Group by same prompt.
|
| 67 |
+
*/
|
| 68 |
+
const getAnswers = (data, url) => {
|
| 69 |
+
const base = getBase(url);
|
| 70 |
+
const rows = data.filter((row) => getBase(row.url) === base);
|
| 71 |
+
const prompts = [];
|
| 72 |
+
for (const row of rows) {
|
| 73 |
+
const { prompt } = row;
|
| 74 |
+
const group = prompts.find((group) => group.prompt === prompt);
|
| 75 |
+
if (group) {
|
| 76 |
+
group.rows.push(row);
|
| 77 |
+
} else {
|
| 78 |
+
prompts.push({ prompt, rows: [row] });
|
| 79 |
+
}
|
| 80 |
+
}
|
| 81 |
+
return prompts;
|
| 82 |
+
};
|
| 83 |
+
|
| 84 |
+
/**
|
| 85 |
+
* A single textbox and submit button in the rows of possible responses.
|
| 86 |
+
*/
|
| 87 |
+
const ResponseRow = ({ prompt, rows, setFeedback }) => {
|
| 88 |
+
const [response, setResponse] = React.useState("");
|
| 89 |
+
|
| 90 |
+
const form = css`
|
| 91 |
+
align-items: baseline;
|
| 92 |
+
display: flex;
|
| 93 |
+
justify-content: right;
|
| 94 |
+
margin-bottom: 0.5em;
|
| 95 |
+
|
| 96 |
+
@media (max-width: 600px) {
|
| 97 |
+
align-items: flex-start;
|
| 98 |
+
flex-direction: column;
|
| 99 |
+
}
|
| 100 |
+
`;
|
| 101 |
+
|
| 102 |
+
const input = css`
|
| 103 |
+
background: #fafafa;
|
| 104 |
+
border: 1px solid #aaa;
|
| 105 |
+
border-radius: 2px;
|
| 106 |
+
color: #121212;
|
| 107 |
+
font-family: inherit;
|
| 108 |
+
font-size: 100%;
|
| 109 |
+
line-height: 1.2;
|
| 110 |
+
margin: 0 0.5em;
|
| 111 |
+
padding: 0.25em 0.5em;
|
| 112 |
+
|
| 113 |
+
@media (max-width: 600px) {
|
| 114 |
+
margin: 0 0 0.25em;
|
| 115 |
+
}
|
| 116 |
+
`;
|
| 117 |
+
|
| 118 |
+
const onSubmit = (e) => {
|
| 119 |
+
e.preventDefault();
|
| 120 |
+
let set = false;
|
| 121 |
+
for (const row of rows) {
|
| 122 |
+
const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
|
| 123 |
+
if (correct) {
|
| 124 |
+
setFeedback(
|
| 125 |
+
row.intermediate?.trim() === "TRUE"
|
| 126 |
+
? "Correct! See the solution page for the answer."
|
| 127 |
+
: `Solved! The answer was ${row.answer}.`
|
| 128 |
+
);
|
| 129 |
+
set = true;
|
| 130 |
+
break;
|
| 131 |
+
}
|
| 132 |
+
}
|
| 133 |
+
if (!set) {
|
| 134 |
+
setFeedback("Incorrect.");
|
| 135 |
+
}
|
| 136 |
+
};
|
| 137 |
+
|
| 138 |
+
const onChange = (e) => setResponse(e.target.value);
|
| 139 |
+
|
| 140 |
+
return html`
|
| 141 |
+
<form class=${form} onSubmit=${onSubmit}>
|
| 142 |
+
<label htmlFor=${prompt + " prompt"}>
|
| 143 |
+
${prompt || "Enter your guess"}:
|
| 144 |
+
</label>
|
| 145 |
+
<input
|
| 146 |
+
class=${input}
|
| 147 |
+
id=${prompt + " prompt"}
|
| 148 |
+
onChange=${onChange}
|
| 149 |
+
required
|
| 150 |
+
type="text"
|
| 151 |
+
value=${response}
|
| 152 |
+
/>
|
| 153 |
+
<button type="submit">Submit</button>
|
| 154 |
+
</form>
|
| 155 |
+
`;
|
| 156 |
+
};
|
| 157 |
+
|
| 158 |
+
/**
|
| 159 |
+
* Check answer button, rendered at top of page.
|
| 160 |
+
*/
|
| 161 |
+
const CheckButton = ({ prompts }) => {
|
| 162 |
+
const [open, setOpen] = React.useState(false);
|
| 163 |
+
const [feedback, setFeedback] = React.useState("Call in an answer.");
|
| 164 |
+
|
| 165 |
+
const wrapper = css`
|
| 166 |
+
font-family: "PT Sans", sans-serif;
|
| 167 |
+
font-size: 16px;
|
| 168 |
+
font-size: clamp(16px, 2.4vw, 21px);
|
| 169 |
+
height: 2.5em;
|
| 170 |
+
|
| 171 |
+
button {
|
| 172 |
+
background: #555;
|
| 173 |
+
border: none;
|
| 174 |
+
border-radius: 2px;
|
| 175 |
+
color: #fff;
|
| 176 |
+
cursor: pointer;
|
| 177 |
+
display: inline-block;
|
| 178 |
+
font-size: 1em;
|
| 179 |
+
font-family: "PT Sans", sans-serif;
|
| 180 |
+
font-weight: bold;
|
| 181 |
+
line-height: 1.2;
|
| 182 |
+
padding: 0.25em 1em;
|
| 183 |
+
text-align: center;
|
| 184 |
+
text-decoration: none;
|
| 185 |
+
text-transform: none;
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
p {
|
| 189 |
+
margin: 0 0 1em;
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
a {
|
| 193 |
+
color: inherit !important;
|
| 194 |
+
}
|
| 195 |
+
`;
|
| 196 |
+
|
| 197 |
+
const btnTop = [2015, 2016].includes(getYear())
|
| 198 |
+
? "50px"
|
| 199 |
+
: [2012].includes(getYear())
|
| 200 |
+
? "-2.5em"
|
| 201 |
+
: "0px";
|
| 202 |
+
|
| 203 |
+
const button = css`
|
| 204 |
+
box-sizing: border-box;
|
| 205 |
+
height: 2.5em;
|
| 206 |
+
left: 0;
|
| 207 |
+
position: absolute;
|
| 208 |
+
top: ${btnTop};
|
| 209 |
+
width: 100%;
|
| 210 |
+
z-index: 9999;
|
| 211 |
+
`;
|
| 212 |
+
|
| 213 |
+
const dropdownWrapper = css`
|
| 214 |
+
background: #edeff0;
|
| 215 |
+
color: #121212;
|
| 216 |
+
left: 0;
|
| 217 |
+
position: absolute;
|
| 218 |
+
right: 0;
|
| 219 |
+
top: calc(2.5em + ${btnTop});
|
| 220 |
+
z-index: 9999;
|
| 221 |
+
`;
|
| 222 |
+
|
| 223 |
+
const dropdown = css`
|
| 224 |
+
margin: 0 auto;
|
| 225 |
+
max-width: 40em;
|
| 226 |
+
padding: 1em;
|
| 227 |
+
z-index: 9999;
|
| 228 |
+
`;
|
| 229 |
+
|
| 230 |
+
const responses = css`
|
| 231 |
+
margin: 0 auto;
|
| 232 |
+
width: fit-content;
|
| 233 |
+
|
| 234 |
+
@media (max-width: 600px) {
|
| 235 |
+
width: auto;
|
| 236 |
+
}
|
| 237 |
+
`;
|
| 238 |
+
|
| 239 |
+
const onClick = () => setOpen(!open);
|
| 240 |
+
|
| 241 |
+
const body =
|
| 242 |
+
prompts.length > 0
|
| 243 |
+
? prompts.map(
|
| 244 |
+
(group) =>
|
| 245 |
+
html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
|
| 246 |
+
)
|
| 247 |
+
: html`<p>
|
| 248 |
+
No answers found on this page. Please report this to${" "}
|
| 249 |
+
<a href="mailto:puzzle@mit.edu">puzzle@mit.edu</a>.
|
| 250 |
+
</p>`;
|
| 251 |
+
|
| 252 |
+
return html`
|
| 253 |
+
<style>
|
| 254 |
+
@import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap");
|
| 255 |
+
|
| 256 |
+
${[2015, 2016].includes(getYear()) &&
|
| 257 |
+
".navbar-fixed-top { z-index: 10000 }"}
|
| 258 |
+
${[2012].includes(getYear()) &&
|
| 259 |
+
"body { top: 2.5em } #check-answer, #shortcuts { z-index: 10000 !important }"}
|
| 260 |
+
${[2006].includes(getYear()) && 'img[alt="Check Answer"] { display: none }'}
|
| 261 |
+
</style>
|
| 262 |
+
<div class=${wrapper}>
|
| 263 |
+
<button class=${button} onClick=${onClick}>
|
| 264 |
+
Check your answers spoiler-free
|
| 265 |
+
</button>
|
| 266 |
+
${open &&
|
| 267 |
+
html`
|
| 268 |
+
<div class=${dropdownWrapper}>
|
| 269 |
+
<div class=${dropdown}>
|
| 270 |
+
<p>${feedback}</p>
|
| 271 |
+
<div class=${responses}>${body}</div>
|
| 272 |
+
</div>
|
| 273 |
+
</div>
|
| 274 |
+
`}
|
| 275 |
+
</div>
|
| 276 |
+
`;
|
| 277 |
+
};
|
| 278 |
+
|
| 279 |
+
const data = await getData();
|
| 280 |
+
const prompts = getAnswers(data, document.URL);
|
| 281 |
+
render(html`<${CheckButton} prompts=${prompts} />`, container);
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_8.html/dream-getaway.html
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| 2 |
+
<HTML>
|
| 3 |
+
<HEAD>
|
| 4 |
+
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
| 5 |
+
<META NAME="Author" CONTENT="Lance Nathan">
|
| 6 |
+
<META NAME="GENERATOR" CONTENT="me typing damnit">
|
| 7 |
+
<TITLE>Dream Getaway</TITLE>
|
| 8 |
+
</HEAD>
|
| 9 |
+
<BODY BGCOLOR="#ffffff">
|
| 10 |
+
|
| 11 |
+
<h2>M Puzzle: Dream Getaway</h2>
|
| 12 |
+
<h3>by Jennifer Cunningham</h3>
|
| 13 |
+
|
| 14 |
+
<p>
|
| 15 |
+
|
| 16 |
+
The answers to the place descriptions are:
|
| 17 |
+
|
| 18 |
+
<p>
|
| 19 |
+
|
| 20 |
+
<table border="1">
|
| 21 |
+
<tr><td>A beautiful birdwatching spot on Cape Ann, as featured in a local birding journal in October 2001<td>Andrew's Point</tr>
|
| 22 |
+
<tr><td>A gathering space in Swansea, Wales that provides a focal point for the city, featuring live music and entertainment on summer days.<td>Castle Square</tr>
|
| 23 |
+
<tr><td>A prime snorkeling spot in the fjords of Arabia<td>Telegraph Island</tr>
|
| 24 |
+
<tr><td>A quiet Indianapolis neighborhood bordered by Edgewood Road on the south, Gray Road and Sherman Drive on the east, Keystone on the west, and I-465 on the north.<td>Carson Square </tr>
|
| 25 |
+
<tr><td>A small seaport community in the Bronx surrounded by the Long Island Sound and Eastchester Bay.<td>City Island</tr>
|
| 26 |
+
<tr><td>Archeological site at Cullompton, Devon, UK believed to be remnants of a Roman military camp<td>St. Andrew's Hill</tr>
|
| 27 |
+
<tr><td>Boutique retail district in the heart of downtown in Nevada's capital city<td>Telegraph Square</tr>
|
| 28 |
+
<tr><td>Charlestown park bordered by a famous English restaurant<td>City Square</tr>
|
| 29 |
+
<tr><td>Community north of the holiday town of Port Macquarie on the beautiful mid-north coast of New South Wales<td>Telegraph Point</tr>
|
| 30 |
+
<tr><td>Florida panhandle coastal area that gave its name to an endangered species of mouse<td>St. Andrew's Beach</tr>
|
| 31 |
+
<tr><td>Ghost town also known as Melones on the Mother Lode belt in Calaveras County<td>Carson Hill</tr>
|
| 32 |
+
<tr><td>Harney County, Oregon, summit 43118-E6<td>Carson Point</tr>
|
| 33 |
+
<tr><td>Historic park and symbolic gathering place in a planned city founded in 1913<td>City Hill</tr>
|
| 34 |
+
<tr><td>North Carolina estuary site named after an environmental activist<td>Carson Island</tr>
|
| 35 |
+
<tr><td>Pristine Alaskan territory in the Stikine River, 15 miles Northeast of Wrangell.<td>Andrew Island</tr>
|
| 36 |
+
<tr><td>Quaint seaside resort in the heart of Hua Hin, Thailand<td>City Beach</tr>
|
| 37 |
+
<tr><td>Remote Tasmanian seashore at 40: 25' S 144: 52' E<td>Telegraph Beach</tr>
|
| 38 |
+
<tr><td>Rocky basin in New Zealand popular for climbing and bouldering<td>Castle Hill</tr>
|
| 39 |
+
<tr><td>Scenic New Jersey site, named for a glorious Victorian mansion, that now houses a technological university<td>Castle Point</tr>
|
| 40 |
+
<tr><td>Seaside location in Falmouth, Cornwall where visitors can climb up on a foot path to Pendennis Point<td>Castle Beach</tr>
|
| 41 |
+
</table>
|
| 42 |
+
|
| 43 |
+
<p>
|
| 44 |
+
|
| 45 |
+
The places start with Andrew/Carson/Castle/City/Telegraph and end with Beach/Hill/Island/Point/Square:
|
| 46 |
+
|
| 47 |
+
<p>
|
| 48 |
+
|
| 49 |
+
<table border="1">
|
| 50 |
+
<tr><td>(St.) Andrew<td>Beach<td>#10</tr>
|
| 51 |
+
<tr><td>(St.) Andrew('s)<td>Hill<td>#6</tr>
|
| 52 |
+
<tr><td>Andrew<td>Island<td>#16</tr>
|
| 53 |
+
<tr><td>Andrew('s)<td>Point<td>#1</tr>
|
| 54 |
+
<tr><td>Carson<td>Hill<td>#12</tr>
|
| 55 |
+
<tr><td>(Rachel) Carson<td>Island<td>#15</tr>
|
| 56 |
+
<tr><td>Carson<td>Point<td>#13</tr>
|
| 57 |
+
<tr><td>Carson<td>Square<td>#4</tr>
|
| 58 |
+
<tr><td>Castle<td>Beach<td>#11</tr>
|
| 59 |
+
<tr><td>Castle<td>Hill<td>#19</tr>
|
| 60 |
+
<tr><td>Castle<td>Point<td>#20</tr>
|
| 61 |
+
<tr><td>Castle<td>Square<td>#2</tr>
|
| 62 |
+
<tr><td>City<td>Beach<td>#17</tr>
|
| 63 |
+
<tr><td>City<td>Hill<td>#14</tr>
|
| 64 |
+
<tr><td>City<td>Island<td>#5</tr>
|
| 65 |
+
<tr><td>City<td>Square<td>#8</tr>
|
| 66 |
+
<tr><td>Telegraph<td>Beach<td>#18</tr>
|
| 67 |
+
<tr><td>Telegraph<td>Island<td>#3</tr>
|
| 68 |
+
<tr><td>Telegraph<td>Point<td>#9</tr>
|
| 69 |
+
<tr><td>Telegraph<td>Square<td>#7</tr>
|
| 70 |
+
</table>
|
| 71 |
+
|
| 72 |
+
<p>
|
| 73 |
+
|
| 74 |
+
The five places not on the list are Telegraph Hill, Andrew Square, Carson Beach, City Point, and Castle Island. These can all be found in SOUTH BOSTON.
|
| 75 |
+
|
| 76 |
+
<p>
|
| 77 |
+
|
| 78 |
+
Training:
|
| 79 |
+
|
| 80 |
+
<p>
|
| 81 |
+
|
| 82 |
+
The training for this puzzle is VIRGINIA COUNTY. South Boston is in the Virginia county of HALIFAX.
|
| 83 |
+
|
| 84 |
+
</BODY>
|
| 85 |
+
</HTML>
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_7_8.html/index.html
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<title>ACMECorp: Section 7</title>
|
| 5 |
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 6 |
+
</head>
|
| 7 |
+
|
| 8 |
+
<body bgcolor=white><!--CUT--><div align=right><small><a href="../../solutions/m7.html">(Meta-puzzle solution)</a></small></div><!--CUT--><font face="arial">
|
| 9 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 10 |
+
<tr>
|
| 11 |
+
<td><img src="images/head7.jpg"></td>
|
| 12 |
+
</tr>
|
| 13 |
+
</table>
|
| 14 |
+
<p><strong><font face="Arial">Section 7</font></strong></p>
|
| 15 |
+
|
| 16 |
+
<em>Saturday the boss went out for drinks.</em>
|
| 17 |
+
|
| 18 |
+
<p>
|
| 19 |
+
|
| 20 |
+
<em>The bartender, a large genial Irishman who's happy to assist you, remembers him. "He was a regular here, always left a couple dollars as a tip. Nice guy. Saturday, he comes in here with a date--real knockout, she was--and buys drinks for the two of them. But here's what blows my mind: he spends the whole time doodling on the napkins instead of paying attention to her.</em>
|
| 21 |
+
|
| 22 |
+
<p>
|
| 23 |
+
|
| 24 |
+
<em>"I kept 'em in case he came back, thought they might be part of his business or something. Wanna see 'em?"</em>
|
| 25 |
+
|
| 26 |
+
<p><ol>
|
| 27 |
+
<li><a href="7_1.html">Smush</a></li>
|
| 28 |
+
<li><a href="7_2.html">When Johnny Comes Marching Home</a></li>
|
| 29 |
+
<li><a href="7_3.html">Set Match</a></li>
|
| 30 |
+
<li><a href="7_4.html">Mixed Drink</a></li>
|
| 31 |
+
<li><a href="7_5.html">Folderol</a></li>
|
| 32 |
+
<li><a href="7_6.html">Squiggles</a></li>
|
| 33 |
+
<li><a href="7_7.html">That's Right</a></li>
|
| 34 |
+
<li><a href="7_8.html">Dream Getaway</a></li>
|
| 35 |
+
</ol>
|
| 36 |
+
</p>
|
| 37 |
+
<p> </p>
|
| 38 |
+
<p> </p>
|
| 39 |
+
<p> </p>
|
| 40 |
+
<p> </p>
|
| 41 |
+
<p> </p>
|
| 42 |
+
<a href="../index.html">Back to the index</a>
|
| 43 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 44 |
+
<tr>
|
| 45 |
+
<td><img src="images/foot7.jpg"></td>
|
| 46 |
+
</tr>
|
| 47 |
+
</table>
|
| 48 |
+
</body><script type="module" src="/checkanswer.js"></script>
|
| 49 |
+
</html>
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_index.html/7_1.html
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| 2 |
+
<HTML>
|
| 3 |
+
<HEAD>
|
| 4 |
+
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
| 5 |
+
<META NAME="Author" CONTENT="ACMECorp">
|
| 6 |
+
<META NAME="GENERATOR" CONTENT="Document Archivists">
|
| 7 |
+
<TITLE>Smush</TITLE>
|
| 8 |
+
</HEAD>
|
| 9 |
+
<BODY BGCOLOR="#ffffff"><!--CUT--><div align=right><small><a href="../../solutions/smush.html">(Solution)</a></small></div><!--CUT--><FONT FACE="arial">
|
| 10 |
+
|
| 11 |
+
<table width="100%">
|
| 12 |
+
<tr>
|
| 13 |
+
<td><img src="images/head7.jpg"></td>
|
| 14 |
+
</tr>
|
| 15 |
+
</table>
|
| 16 |
+
|
| 17 |
+
<strong><h2>Document 7.1: Smush</h2></strong>
|
| 18 |
+
|
| 19 |
+
<p>
|
| 20 |
+
|
| 21 |
+
<em>"He might've been running his words together a little," the bartender admits, "but it didn't seem to impair his judgment at all. The TV was tuned in to some game show, and he was getting the answers faster than the contestants. By the end he was screaming at the TV."</em>
|
| 22 |
+
|
| 23 |
+
<p>
|
| 24 |
+
|
| 25 |
+
Come down and play "Smush"! This event will occur in room 2-190 at 3 pm. The basic mechanism is as follows:
|
| 26 |
+
|
| 27 |
+
<p>
|
| 28 |
+
|
| 29 |
+
In the first round, eight contestants will compete to answer "smushes," two phrases phonetically mashed together. For instance, given "90s startup + Russian form of government," a contestant would ring in and say, "dot communism."
|
| 30 |
+
|
| 31 |
+
<p>
|
| 32 |
+
|
| 33 |
+
The four highest scorers will move on to the second round, where the points are doubled and the smushes are three clues long (e.g. "90s startup + Russian form of government + lingerie question" for "dot communismy slip showing?" (i.e. "dot com + communism + Is my slip showing?"), only they'll be good).
|
| 34 |
+
|
| 35 |
+
<p>
|
| 36 |
+
|
| 37 |
+
At the end of this round, the top two people will continue to the final round, where they will work as a team to answer a progressive nine-part smush: first two clues, then a third clue added to the end, and so on until they have all nine. They must recite the entire smush each time (without writing them down!).
|
| 38 |
+
|
| 39 |
+
<p>
|
| 40 |
+
|
| 41 |
+
Come and participate, or just come and watch!
|
| 42 |
+
|
| 43 |
+
<p><br><p>
|
| 44 |
+
|
| 45 |
+
<a href="index.html">Back to the index</a>
|
| 46 |
+
|
| 47 |
+
<table width="100%">
|
| 48 |
+
<tr>
|
| 49 |
+
<td><img src="images/foot7.jpg"></td>
|
| 50 |
+
</tr>
|
| 51 |
+
</table>
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
</FONT>
|
| 55 |
+
</body><script type="module" src="/checkanswer.js"></script><script type="module" src="/checkanswer.js"></script>
|
| 56 |
+
</HTML>
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_index.html/7_2.html
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| 2 |
+
<HTML>
|
| 3 |
+
<HEAD>
|
| 4 |
+
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
| 5 |
+
<META NAME="Author" CONTENT="ACMECorp">
|
| 6 |
+
<META NAME="GENERATOR" CONTENT="Document Archivists">
|
| 7 |
+
<TITLE>When Johnny Comes Marching Home</TITLE>
|
| 8 |
+
</HEAD>
|
| 9 |
+
<BODY BGCOLOR="#ffffff"><!--CUT--><div align=right><small><a href="../../solutions/johnny.html">(Solution)</a></small></div><!--CUT--><FONT FACE="arial">
|
| 10 |
+
|
| 11 |
+
<table width="100%">
|
| 12 |
+
<tr>
|
| 13 |
+
<td><img src="images/head7.jpg"></td>
|
| 14 |
+
</tr>
|
| 15 |
+
</table>
|
| 16 |
+
|
| 17 |
+
<strong><h2>Document 7.2: When Johnny Comes Marching Home</h2></strong>
|
| 18 |
+
<p>
|
| 19 |
+
|
| 20 |
+
<em>"After a number of drinks," the bartender tells you, "your boss had to take a short trip to the back. When he returned, he told me that my facilities here were quite commodious, that he felt flushed with excitement. Then he showed me these photos he'd taken elsewhere--seems he was quite a connoisseur of water fixtures." Before you study the photos, you decide it might be prudent to visit the facilities yourself, not forgetting to shut the door.</em>
|
| 21 |
+
|
| 22 |
+
<p>
|
| 23 |
+
|
| 24 |
+
One:
|
| 25 |
+
|
| 26 |
+
<p>
|
| 27 |
+
|
| 28 |
+
<IMG height=300 src="images/johnny-g.jpg" width=400 border=0><br>
|
| 29 |
+
<IMG height=300 src="images/johnny-h.jpg" width=400 border=0><br>
|
| 30 |
+
<IMG height=300 src="images/johnny-i.jpg" width=400 border=0>
|
| 31 |
+
|
| 32 |
+
<p>
|
| 33 |
+
|
| 34 |
+
Two:
|
| 35 |
+
|
| 36 |
+
<p>
|
| 37 |
+
|
| 38 |
+
<IMG height=300 src="images/johnny-p.jpg" width=400 border=0><br>
|
| 39 |
+
<IMG height=300 src="images/johnny-q.jpg" width=400 border=0><br>
|
| 40 |
+
<IMG border="0" src="images/johnny-r.jpg" width="400" height="300">
|
| 41 |
+
|
| 42 |
+
<p>
|
| 43 |
+
|
| 44 |
+
Three:
|
| 45 |
+
|
| 46 |
+
<p>
|
| 47 |
+
|
| 48 |
+
<IMG height=300 src="images/johnny-d.jpg" width=400 border=0>
|
| 49 |
+
|
| 50 |
+
<p>
|
| 51 |
+
|
| 52 |
+
Four:
|
| 53 |
+
|
| 54 |
+
<p>
|
| 55 |
+
|
| 56 |
+
<IMG height=300 src="images/johnny-f.jpg" width=400 border=0>
|
| 57 |
+
|
| 58 |
+
<p>
|
| 59 |
+
|
| 60 |
+
Five:
|
| 61 |
+
|
| 62 |
+
<P>
|
| 63 |
+
|
| 64 |
+
<IMG height=300 src="images/johnny-a.jpg" width=400 border=0><br>
|
| 65 |
+
<IMG height=300 src="images/johnny-b.jpg" width=400 border=0>
|
| 66 |
+
|
| 67 |
+
<p>
|
| 68 |
+
|
| 69 |
+
Six:
|
| 70 |
+
|
| 71 |
+
<p>
|
| 72 |
+
|
| 73 |
+
<IMG height=300 src="images/johnny-e.jpg" width=400 border=0>
|
| 74 |
+
|
| 75 |
+
<p>
|
| 76 |
+
|
| 77 |
+
Seven:
|
| 78 |
+
|
| 79 |
+
<p>
|
| 80 |
+
|
| 81 |
+
<IMG height=400 src="images/johnny-j.jpg" width=300 border=0>
|
| 82 |
+
|
| 83 |
+
<p>
|
| 84 |
+
|
| 85 |
+
Eight:
|
| 86 |
+
|
| 87 |
+
<p>
|
| 88 |
+
|
| 89 |
+
<IMG height=300 src="images/johnny-k.jpg" width=400 border=0><br>
|
| 90 |
+
<IMG height=300 src="images/johnny-l.jpg" width=400 border=0><br>
|
| 91 |
+
<IMG height=300 src="images/johnny-m.jpg" width=400 border=0><br>
|
| 92 |
+
<IMG border="0" src="images/johnny-n.jpg" width="400" height="300"><br>
|
| 93 |
+
<IMG height=400 src="images/johnny-o.jpg" width=300 border=0>
|
| 94 |
+
|
| 95 |
+
<p>
|
| 96 |
+
|
| 97 |
+
Nine:
|
| 98 |
+
|
| 99 |
+
<p>
|
| 100 |
+
|
| 101 |
+
<IMG height=300 src="images/johnny-c.jpg" width=400 border=0>
|
| 102 |
+
|
| 103 |
+
<p><br><p>
|
| 104 |
+
|
| 105 |
+
<a href="index.html">Back to the index</a>
|
| 106 |
+
|
| 107 |
+
<table width="100%">
|
| 108 |
+
<tr>
|
| 109 |
+
<td><img src="images/foot7.jpg"></td>
|
| 110 |
+
</tr>
|
| 111 |
+
</table>
|
| 112 |
+
|
| 113 |
+
</FONT>
|
| 114 |
+
</body><script type="module" src="/checkanswer.js"></script><script type="module" src="/checkanswer.js"></script>
|
| 115 |
+
</HTML>
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_index.html/7_3.html
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| 2 |
+
<HTML>
|
| 3 |
+
<HEAD>
|
| 4 |
+
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
| 5 |
+
<META NAME="Author" CONTENT="ACMECorp">
|
| 6 |
+
<META NAME="GENERATOR" CONTENT="Document Archivists">
|
| 7 |
+
<TITLE>Set Match</TITLE>
|
| 8 |
+
</HEAD>
|
| 9 |
+
<BODY BGCOLOR="#ffffff"><!--CUT--><div align=right><small><a href="../../solutions/set-match.html">(Solution)</a></small></div><!--CUT--><FONT FACE="arial">
|
| 10 |
+
|
| 11 |
+
<table width="100%">
|
| 12 |
+
<tr>
|
| 13 |
+
<td><img src="images/head7.jpg"></td>
|
| 14 |
+
</tr>
|
| 15 |
+
</table>
|
| 16 |
+
|
| 17 |
+
<strong><h2>Document 7.3: Set Match</h2></strong>
|
| 18 |
+
|
| 19 |
+
<p>
|
| 20 |
+
|
| 21 |
+
<em>The bartender taps a pile of paper scraps. "When he wrote this
|
| 22 |
+
one, he'd already had one bourbon and one scotch; he asked for paper
|
| 23 |
+
and scissors." He shrugs. "I wasn't expecting him to shred this! I
|
| 24 |
+
have no idea what order they were originally in." You arrange them
|
| 25 |
+
alphabetically and look over what you have. This would be easier, you
|
| 26 |
+
decide, if you could only think in the box.</em>
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
</font>
|
| 30 |
+
<pre>
|
| 31 |
+
AACOOELTAHRILGLUADMSOOGNANEOYTITSMOT
|
| 32 |
+
TLLCVIRSPOKANBIENDSADNNDOBOBKWHIHMER
|
| 33 |
+
|
| 34 |
+
AEANSRADTSRNGTDTEEDOBGLNO
|
| 35 |
+
RDIMSLUSESOWOONPHRALUUMAS
|
| 36 |
+
|
| 37 |
+
BGSIRAICIENTEBSLTPHTINLEHF
|
| 38 |
+
NOLTZHNDHNIGINGEWSLAYIITOE
|
| 39 |
+
|
| 40 |
+
DHFIOEITVEAARNNIOLOWFOHERASSOFI
|
| 41 |
+
SSLOKDANHAWVEDDENWIOSTSTHETNOUN
|
| 42 |
+
|
| 43 |
+
DKITLLKADSNNGMMMREBELGRECEBML
|
| 44 |
+
IWEYHIEEDIICOEREOCIARSCORKANA
|
| 45 |
+
|
| 46 |
+
FELYLNRETATCANNINAIOONTEPESUTEO
|
| 47 |
+
VITBAEDIIWRRYITHIGVSIGESDIBODNO
|
| 48 |
+
|
| 49 |
+
HAGCBIEREUBHOOHIEMNOEBYNS
|
| 50 |
+
ONSAOVGCRDSYBNWERFRESEOSE
|
| 51 |
+
|
| 52 |
+
HNDLATOANFANEERSEBUMSNAAAFDETMCEDN
|
| 53 |
+
OILESDCNEDIRCOSDTORTIOBGNDTIROAYNE
|
| 54 |
+
|
| 55 |
+
LAELALEOREELSNTAENRERAIEOBLERALASR
|
| 56 |
+
EDDTAPTUSDOVGCHIISCAMRKEDFYBSUSTIV
|
| 57 |
+
|
| 58 |
+
LAOMANIULFTOMWANTNIDOROATRDOYIN
|
| 59 |
+
AJNNCMAEGHILNFHAZOTECTEMOERBWAL
|
| 60 |
+
|
| 61 |
+
LLCKTTLOSKEELERECATLNAEEOOSEARDYONB
|
| 62 |
+
RALEENEROARDWIKSLOLSEGMWHFSTRALINCA
|
| 63 |
+
|
| 64 |
+
MGDMGEULAIEFOOMINAHARPSNNFROYNORI
|
| 65 |
+
NFLERREOPSNLRVEEITJECKIOKBLOWDESK
|
| 66 |
+
|
| 67 |
+
NFIKIOVSMINAZFNEWYTEEOSACLGDNP
|
| 68 |
+
OICDCATEKAGDOISEHDSBHUBUAKEAUG
|
| 69 |
+
|
| 70 |
+
ODLNININPSRNOITPEMUWROPENAEDBRAHFH
|
| 71 |
+
RLAYDSAMAIOPHRTNBTEEHONIRNNDCASSHO
|
| 72 |
+
|
| 73 |
+
OERDADDROTHLGLARDSWIMETITVMATTAMA
|
| 74 |
+
LAGRANFBAMTOEWANTSEATLGGIHENSOERB
|
| 75 |
+
|
| 76 |
+
RANARLWAOGHERFIMATASENSUFYYEN
|
| 77 |
+
DETGEYRNACAHSISRSWTROABURFSAC
|
| 78 |
+
|
| 79 |
+
RHCOWDNELWEANBSTOROIGEADLMUMTANS
|
| 80 |
+
GEATRABDTSTENDEFENINRANNDGAIOURA
|
| 81 |
+
|
| 82 |
+
RTNOINENIUTINDZGZMXORISOYSOETUSUCE
|
| 83 |
+
ROOENFAATNRENGOZAAEFPUSTDEGKHALKPA
|
| 84 |
+
|
| 85 |
+
SURTENYMERNEONEIOTGREIETTO
|
| 86 |
+
MAITIBSHAESSMISAFELTBVTZER
|
| 87 |
+
|
| 88 |
+
VAICALCHNREMAGFECWNRDBOCAP
|
| 89 |
+
TINNOROGEEABNULAOTUEERYFDE
|
| 90 |
+
|
| 91 |
+
VUOTNEAWIOGBURDEDGOENTIAGFEI
|
| 92 |
+
OERNHEYLHNFOYNUNDHRLESRNCRKC
|
| 93 |
+
|
| 94 |
+
YNOEHWERDHTTEEFOORMIXOYFIRECSTSPYSS
|
| 95 |
+
IXWANTOIGTIELNFRUMSANTFMIVAILEOBICT
|
| 96 |
+
|
| 97 |
+
YWHOTHASCEOESIASLORIPLIIICTP
|
| 98 |
+
MTHRGPEETSDFMTSIISSSOPDVERSI
|
| 99 |
+
</pre>
|
| 100 |
+
<font face="arial">
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
<p><br><p>
|
| 104 |
+
|
| 105 |
+
<a href="index.html">Back to the index</a>
|
| 106 |
+
|
| 107 |
+
<table width="100%">
|
| 108 |
+
<tr>
|
| 109 |
+
<td><img src="images/foot7.jpg"></td>
|
| 110 |
+
</tr>
|
| 111 |
+
</table>
|
| 112 |
+
|
| 113 |
+
</FONT>
|
| 114 |
+
</body><script type="module" src="/checkanswer.js"></script><script type="module" src="/checkanswer.js"></script>
|
| 115 |
+
</HTML>
|
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2003/2003_www.acme-corp.com_teamGuest_7_index.html/7_4.html
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| 2 |
+
<HTML>
|
| 3 |
+
<HEAD>
|
| 4 |
+
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
| 5 |
+
<META NAME="Author" CONTENT="ACMECorp">
|
| 6 |
+
<META NAME="GENERATOR" CONTENT="Document Archivists">
|
| 7 |
+
<TITLE>Mixed Drink</TITLE>
|
| 8 |
+
</HEAD>
|
| 9 |
+
<BODY BGCOLOR="#ffffff"><!--CUT--><div align=right><small><a href="../../solutions/mixed-drink.html">(Solution)</a></small></div><!--CUT--><FONT FACE="arial">
|
| 10 |
+
|
| 11 |
+
<table width="100%">
|
| 12 |
+
<tr>
|
| 13 |
+
<td><img src="images/head7.jpg"></td>
|
| 14 |
+
</tr>
|
| 15 |
+
</table>
|
| 16 |
+
|
| 17 |
+
<strong><h2>Document 7.4: Mixed Drink</h2></strong>
|
| 18 |
+
|
| 19 |
+
<p>
|
| 20 |
+
|
| 21 |
+
<em>The bartender looks at the bar napkin this puzzle is written on, and says, "I remember this order. Some drink I'd never heard of. I asked him to write down the ingredients, and this is what he gave me. Whatever it is, it's strange." Not a bad deduction, you decide.</em>
|
| 22 |
+
|
| 23 |
+
<p>
|
| 24 |
+
|
| 25 |
+
<ul>
|
| 26 |
+
<li>4 ounces <img src="images/mixed-drink-1.gif"></li>
|
| 27 |
+
<li>2 gills <img src="images/mixed-drink-2.gif"></li>
|
| 28 |
+
<li>1/16 fifth <img src="images/mixed-drink-3.gif"></li>
|
| 29 |
+
<li>2 2/3 jigger <img src="images/mixed-drink-4.gif"></li>
|
| 30 |
+
<li>153 3/5 minim <img src="images/mixed-drink-5.gif"></li>
|
| 31 |
+
</ul>
|
| 32 |
+
|
| 33 |
+
<p>
|
| 34 |
+
|
| 35 |
+
Directions: add all ingredients to a cup. Mix well. (Caution: mixture is unstable.)
|
| 36 |
+
|
| 37 |
+
<p><br><p>
|
| 38 |
+
|
| 39 |
+
<a href="index.html">Back to the index</a>
|
| 40 |
+
|
| 41 |
+
<table width="100%">
|
| 42 |
+
<tr>
|
| 43 |
+
<td><img src="images/foot7.jpg"></td>
|
| 44 |
+
</tr>
|
| 45 |
+
</table>
|
| 46 |
+
|
| 47 |
+
</FONT>
|
| 48 |
+
</body><script type="module" src="/checkanswer.js"></script><script type="module" src="/checkanswer.js"></script>
|
| 49 |
+
</HTML>
|