Game 01

#wtp{–bg:#f0f0f0;–card:#fff;–ink:#111;–muted:#6b6b6b;–line:#e0e0e0;–accent:#ca6647;–accent-d:#ae583d;–gold:#f5b301;–good:#2f855a;–bad:#c0392b; –sans:Futura,’Futura PT’,’Jost’,’Century Gothic’,’Avenir Next’,sans-serif; –cond:’Futura Condensed ExtraBold’,’Futura-CondensedExtraBold’,’Futura Condensed Bold’,’Barlow Condensed’,’Arial Narrow’,Impact,sans-serif; position:relative;max-width:720px;margin:0 auto;color:var(–ink);font-family:var(–sans);font-size:16px;line-height:1.4;text-align:left} #wtp *{box-sizing:border-box} #wtp .hidden{display:none!important} #wtp .cond{font-family:var(–cond);font-weight:700;letter-spacing:0} #wtp .stats{display:flex;justify-content:space-between;gap:12px;background:var(–card);border:1px solid var(–line);border-bottom:0;padding:12px 20px;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:var(–ink)} #wtp .stats b{color:var(–accent)} #wtp .card{background:var(–card);border:1px solid var(–line);box-shadow:0 2px 12px rgba(0,0,0,.07)} #wtp .bar{background:var(–accent);color:#fff;font-weight:700;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 20px;font-size:14px;text-transform:uppercase;letter-spacing:.05em} #wtp .pad{padding:24px} #wtp h2{margin:0 0 10px;font-size:34px;line-height:1.1;color:var(–ink);text-transform:none} #wtp p{margin:0} #wtp p.m{color:var(–muted);font-size:14px;line-height:1.6} #wtp .tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(–line);border:1px solid var(–line);margin:22px 0} #wtp .tiers div{background:var(–bg);padding:12px;font-size:13px} #wtp .tiers b{display:block;margin-bottom:2px} #wtp .tiers span{color:var(–muted)} #wtp button.btn{background:var(–accent);color:#fff;border:0;border-radius:0;padding:15px 22px;font:700 14px var(–sans);text-transform:uppercase;letter-spacing:.05em;cursor:pointer;transition:background .15s;box-shadow:none} #wtp button.btn:hover:not(:disabled){background:var(–accent-d)} #wtp button.btn:disabled{opacity:.45;cursor:not-allowed} #wtp button.btn.alt{background:#111} #wtp button.btn.alt:hover{background:var(–accent)} #wtp .full{width:100%} #wtp .prompt{font-size:clamp(20px,4.4vw,26px);font-weight:600;line-height:1.3;margin:4px 0 6px} #wtp .field{position:relative;margin-top:20px} #wtp .row{display:flex;gap:8px;margin:0} #wtp input[type=text]{flex:1;min-width:0;height:auto;margin:0;background:var(–bg);color:var(–ink);border:2px solid var(–line);border-radius:0;padding:15px 16px;font:500 16px var(–sans);outline:none;box-shadow:none;transition:border-color .15s} #wtp input[type=text]:focus{border-color:var(–accent)} #wtp input[type=text]:disabled{opacity:.5} #wtp .overlay{position:absolute;inset:0;background:var(–card);border:2px solid var(–accent);display:flex;align-items:center;justify-content:center;gap:14px;z-index:5;transition:background .3s,border-color .3s} #wtp .overlay .lbl{position:absolute;top:6px;left:12px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(–muted);transition:opacity .3s} #wtp .overlay.go{background:transparent;border-color:transparent;pointer-events:none} #wtp .overlay.go .lbl{opacity:0} #wtp .star{font-size:44px;line-height:1;color:var(–gold);display:inline-block;opacity:0;transform:scale(.2);text-shadow:0 2px 10px rgba(245,179,1,.55)} #wtp .star.on{animation:wtpStarIn .45s cubic-bezier(.175,.885,.32,1.275) forwards} #wtp .star.pop{animation:wtpStarPop .5s ease-in forwards} @keyframes wtpStarIn{0%{opacity:0;transform:scale(.2) rotate(-45deg)}100%{opacity:1;transform:scale(1) rotate(0)}} @keyframes wtpStarPop{0%{opacity:1;transform:scale(1)}35%{opacity:1;transform:scale(1.6)}100%{opacity:0;transform:scale(2.4)}} #wtp .fb{min-height:24px;margin-top:12px;font-size:14px;font-weight:600} #wtp .good{color:var(–good)}#wtp .bad{color:var(–bad)}#wtp .warn{color:var(–accent)} #wtp .chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;min-height:28px} #wtp .chip{font-size:12px;font-weight:600;padding:5px 10px;border:1px solid var(–line);color:var(–muted);background:var(–bg)} #wtp .chip.ok{border-color:var(–accent);color:var(–accent)} #wtp .sec{border-top:1px solid var(–line);margin-top:20px;padding-top:14px;font-size:12px;color:var(–muted);text-transform:uppercase;letter-spacing:.05em;font-weight:600} #wtp .timer{display:flex;align-items:center;gap:12px;margin-top:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(–muted)} #wtp .track{flex:1;height:8px;background:var(–bg);border:1px solid var(–line)} #wtp #wtp-timer-bar{height:100%;width:100%;background:var(–accent);transition:width 1s linear} #wtp #wtp-timer-text{font-family:ui-monospace,Menlo,monospace;color:var(–accent);min-width:34px;text-align:right} #wtp .next{display:flex;justify-content:flex-end;margin-top:14px} #wtp .popups{position:absolute;top:8px;left:50%;transform:translateX(-50%);z-index:50;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:8px;width:max-content;max-width:94%} #wtp .popup{background:#000;color:#fff;border-left:5px solid var(–accent);padding:12px 20px;display:flex;align-items:center;gap:12px;box-shadow:0 8px 24px rgba(0,0,0,.3);animation:wtpPopUp .4s cubic-bezier(.175,.885,.32,1.275) forwards} #wtp .popup.out{animation:wtpFadeOut .6s ease-in-out forwards} #wtp .popup .ic{font-size:28px} #wtp .popup b{display:block;font-size:14px;text-transform:uppercase;letter-spacing:.06em;color:var(–accent)} #wtp .popup span{font-size:12px;color:#ddd} @keyframes wtpPopUp{0%{transform:scale(.5) translateY(20px);opacity:0}60%{transform:scale(1.05) translateY(-4px);opacity:1}100%{transform:scale(1);opacity:1}} @keyframes wtpFadeOut{to{transform:translateY(-30px);opacity:0}} #wtp .stat{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(–line);font-size:14px;color:var(–muted)} #wtp .stat strong{color:var(–ink);font-size:22px} #wtp .btns{display:flex;gap:10px;margin-top:22px}#wtp .btns .btn{flex:1} #wtp .osc{display:inline-block;width:.78em;height:1em;vertical-align:-.14em} #wtp .rep{margin-top:26px;border-top:1px solid var(–line);padding-top:20px} #wtp .rt{font-family:var(–cond);font-weight:700;font-size:26px;line-height:1.1;color:var(–ink)} #wtp .rs{font-size:12px;color:var(–muted);margin:3px 0 12px} #wtp .pct{display:flex;align-items:baseline;gap:10px;font-size:14px;color:var(–muted)} #wtp .pct b{font-family:var(–cond);font-size:48px;line-height:1;color:var(–accent)} #wtp .film{position:relative;background:#111;padding:26px 12px;margin:12px 0 6px} #wtp .film::before,#wtp .film::after{content:””;position:absolute;left:0;right:0;height:9px;background:repeating-linear-gradient(90deg,transparent 0 5px,#f0f0f0 5px 13px,transparent 13px 19px)} #wtp .film::before{top:8px}#wtp .film::after{bottom:8px} #wtp .frames{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;height:110px} #wtp .fr{position:relative;border:2px solid #333;background:#1c1c1c;display:flex;align-items:flex-end} #wtp .fr i{display:block;width:100%;background:#5c5c5c} #wtp .fr.me{border-color:var(–gold)} #wtp .fr.me i{background:var(–accent)} #wtp .fr.me::after{content:”★”;position:absolute;top:1px;left:0;right:0;text-align:center;color:var(–gold);font-size:18px;line-height:1;text-shadow:0 1px 3px #000} #wtp .ends{display:flex;justify-content:space-between;font-size:11px;font-weight:600;color:var(–muted);text-transform:uppercase;letter-spacing:.05em} #wtp .li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(–line);font-size:14px} #wtp .li .ic{font-size:22px;width:28px;text-align:center} #wtp .li .t{flex:1;min-width:0} #wtp .li .t small{display:block;color:var(–muted);font-size:11px;text-transform:uppercase;letter-spacing:.05em} #wtp .li .t span{font-weight:600} #wtp .li .p{font-family:var(–cond);font-weight:700;font-size:20px;color:var(–accent);white-space:nowrap} #wtp .li.me{background:rgba(202,102,71,.12);padding-left:10px;padding-right:10px;margin:0 -10px} #wtp .log{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(–line);border:1px solid var(–line);text-align:center} #wtp .log div{background:var(–bg);padding:14px 4px} #wtp .log b{display:block;font-family:var(–cond);font-size:32px;line-height:1;color:var(–ink);margin-bottom:4px} #wtp .log span{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(–muted)} @media (max-width:520px){#wtp .tiers{grid-template-columns:repeat(2,1fr)}#wtp .pad{padding:18px}} window.addEventListener(“error”,function(e){var r=document.getElementById(“wtp”);var b=document.getElementById(“wtp-err”);if(!b){b=document.createElement(“div”);b.id=”wtp-err”;b.style.cssText=”background:#fde8e8;color:#8a1c1c;border:1px solid #e3a5a5;padding:10px;margin:10px 0;font:13px/1.4 monospace;white-space:pre-wrap”;var p=r?r.parentNode:document.body;p.insertBefore(b,r)}b.textContent+=”Script error: “+e.message+” (line “+e.lineno+”)\n”});
Prestige Score 0Correct 0
How it works6 questions

Test Your Cinematic Depth

Each question gives you a 3-star reading countdown, then 25 seconds to answer. There are many right answers, but the more obscure your pick, the higher the award you earn. Run out of time and you get a Rotten Raspberry.

🏅 Golden Globe · 10 ptsEveryone has one. You’re not special.
🐻 Golden Bear · 20 ptsRespectable, but forgettable come awards season.
🎞️ Sundance Kid · 40 ptsYou have a promising future.
🎖️ The Guild · 60 ptsYou’ve earned your peers’ respect.
🌴 Palme d’Or · 80 ptsRubbing shoulders with a rarefied crowd.
Oscar · 100 ptsYour peers envy you. You made it!

🍓 Rotten Raspberry · 0 pts — Back to film school.

(function(){ const root=document.getElementById(“wtp”); const $=id=>root.querySelector(“#wtp-“+id); const OSC=“; const TIERS=[[“Golden Globe”,10,”🏅”,”Everyone has one. You’re not special.”],[“Golden Bear”,20,”🐻”,”Respectable, but forgettable come awards season.”],[“Sundance Kid”,40,”🎞️”,”You have a promising future.”],[“The Guild”,60,”🎖️”,”You’ve earned your peers’ respect.”],[“Palme d’Or”,80,”🌴”,”Rubbing shoulders with a rarefied crowd.”],[“Oscar”,100,OSC,”Your peers envy you. You made it!”,”🧍”]]; const T={};TIERS.forEach((t,i)=>T[t[0]]={pts:t[1],icon:t[2],tag:t[3],txt:t[4]||t[2],rank:i+1}); function clean(s){ return s.normalize(“NFD”).replace(/[\u0300-\u036f]/g,””).toLowerCase() .replace(/[‘’.,\/#!$%^\u0026*;:{}=\-_`~()?]/g,””) .replace(/\b(the|of|a|an)\b/g,””).replace(/\s+/g,” “).trim(); } function Q(cat,prompt,people,tiers){ const map=new Map(),examples=[]; for(const [tier,list] of Object.entries(tiers)) list.forEach(item=>{ const names=item.split(“|”); names.forEach(n=>map.set(clean(n),{tier,display:names[0]})); examples.push(names[0]); }); return {cat,prompt,people,map,examples}; } const Qs=[ Q(“Colorful Titles”,”Name a film with a color in its title.”,false,{ “Golden Globe”:[“Black Panther”,”Men in Black”,”The Green Mile”,”The Color Purple”,”Black Swan”,”Green Book”,”The Pink Panther”,”Red Notice”,”Black Widow”,”Green Lantern”,”Purple Rain”,”Pretty in Pink”], “Golden Bear”:[“The Hunt for Red October”,”Blue Valentine”,”Crimson Tide”,”Yellow Submarine”,”Blue Velvet”,”The Blue Lagoon”,”Black Hawk Down”,”Black Mass”,”Black Adam”,”Blue Jasmine”,”White Christmas”,”White Chicks”,”White House Down”,”A Clockwork Orange”,”Orange County”,”Red Dragon”,”Red Eye”,”Red Dawn”,”Black Beauty”,”Turning Red”,”Blue Beetle”,”Fifty Shades of Grey”,”The Grey”,”White Fang”,”Red Sparrow”,”Green Zone”,”The Green Hornet”,”Blue Crush”,”Black Christmas”,”Black Rain”], “Sundance Kid”:[“Blue Steel”,”Blue Thunder”,”Blue Streak”,”Blue Chips”,”Blue Hawaii”,”Red Heat”,”Red Planet”,”Red Tails”,”Red Riding Hood”,”Red State”,”Red Sonja”,”RED”,”Red 2″,”Black Narcissus”,”Black Sunday”,”Black Sheep”,”Black Snake Moan”,”BlacKkKlansman”,”The Black Stallion”,”The Black Cauldron”,”The Black Hole”,”The Black Dahlia”,”Green Room”,”Green Card”,”Green Street”,”The Green Knight”,”Fried Green Tomatoes”,”White Noise”,”White Oleander”,”The White Ribbon”,”The Purple Rose of Cairo”,”Purple Hearts”,”The Scarlet Letter”,”Crimson Peak”,”Brown Sugar”,”The Gray Man”,”Pink Flamingos”,”The Big Blue”], “The Guild”:[“Three Colors: Blue”,”Three Colors: White”,”Three Colors: Red”,”Blue Ruin”,”Blue in the Face”,”The Blue Bird”,”Red River”,”Red Cliff”,”The Red Shoes”,”The Big Red One”,”Black Dynamite”,”Black Book”,”Black Death”,”Grey Gardens”,”The Yellow Rolls-Royce”,”Scarlet Street”,”The Crimson Rivers”,”Blue Is the Warmest Color|Blue Is the Warmest Colour”,”The Brown Bunny”,”Yellow Sky”,”The Red Balloon”], “Palme d’Or”:[“Black Orpheus”,”Black Girl”,”Red Desert”,”The White Sheik”,”The White Hell of Pitz Palu”,”The Blue Angel”,”The Green Ray”,”Red Beard”,”The Black Pirate”,”White Heat”,”The Red Pony”], “Oscar”:[“White Zombie”,”The Black Cat”,”The Red Badge of Courage”,”The Scarlet Empress”,”The Green Pastures”,”The Purple Plain”]}), Q(“All Aboard”,”Name a film where a major part of the story takes place aboard a ship, boat or submarine.”,false,{ “Golden Globe”:[“Titanic”,”Jaws”,”Pirates of the Caribbean|Pirates of the Caribbean: The Curse of the Black Pearl|The Curse of the Black Pearl|Pirates of the Caribbean: Dead Man’s Chest|Dead Man’s Chest|Pirates of the Caribbean: At World’s End|At World’s End|Pirates of the Caribbean: On Stranger Tides|On Stranger Tides”,”Life of Pi”,”Captain Phillips”,”The Perfect Storm”,”Master and Commander: The Far Side of the World|Master and Commander”,”The Hunt for Red October”,”Moana”], “Golden Bear”:[“The Poseidon Adventure”,”Crimson Tide”,”Das Boot”,”Under Siege”,”U-571″,”Waterworld”,”Ghost Ship”,”Kon-Tiki”,”In the Heart of the Sea”,”All Is Lost”,”Speed 2: Cruise Control|Speed 2″,”Dead Calm”,”Mutiny on the Bounty”,”Treasure Island”,”Greyhound”,”Battleship”,”Down Periscope”,”Poseidon”,”Death on the Nile”,”The Boat That Rocked|Pirate Radio”,”Muppet Treasure Island”], “Sundance Kid”:[“K-19: The Widowmaker|K-19″,”Moby Dick”,”Triangle”,”Ship of Fools”,”The Caine Mutiny”,”Run Silent, Run Deep”,”Operation Petticoat”,”The Finest Hours”,”The Life Aquatic with Steve Zissou”,”The Pirates! Band of Misfits|The Pirates!”,”Treasure Planet”,”The Bounty”,”Billy Budd”,”The Sea Wolf”,”Captains Courageous”,”A Night to Remember”,”Lifeboat”,”Cutthroat Island”,”Sinbad: Legend of the Seven Seas|Sinbad”,”The Cruel Sea”,”The Enemy Below”,”Captain Ron”,”Boat Trip”], “The Guild”:[“Raise the Titanic”,”Mister Roberts”,”In Which We Serve”,”The Bedford Incident”,”Abandon Ship!”,”Sea Fever”], “Palme d’Or”:[“The Wreck of the Mary Deare”,”Ice Station Zebra”,”Torpedo Run”,”Pursuit of the Graf Spee”]}), Q(“Animal Stars”,”Name an animated film whose main character is an animal.”,false,{ “Golden Globe”:[“The Lion King”,”Finding Nemo”,”Zootopia”,”Ratatouille”,”Kung Fu Panda”,”Bambi”,”Dumbo”,”Finding Dory”,”Sing”,”Madagascar”,”Ice Age”,”Happy Feet”,”Bolt”,”Chicken Run”], “Golden Bear”:[“The Secret Life of Pets”,”Over the Hedge”,”Rio”,”Bee Movie”,”Antz”,”A Bug’s Life”,”Lady and the Tramp”,”101 Dalmatians|One Hundred and One Dalmatians”,”The Aristocats”,”Robin Hood”,”Puss in Boots”,”Puss in Boots: The Last Wish”,”The Fox and the Hound”,”Fantastic Mr. Fox”,”Rango”,”Ferdinand”,”Winnie the Pooh”,”The Garfield Movie”,”Open Season”,”Flushed Away”,”Shark Tale”,”Kung Fu Panda 2″,”Kung Fu Panda 3″,”Kung Fu Panda 4″,”Sing 2″], “Sundance Kid”:[“Balto”,”An American Tail”,”The Land Before Time”,”The Good Dinosaur”,”Brother Bear”,”Oliver and Company”,”The Rescuers”,”The Rescuers Down Under”,”The Great Mouse Detective”,”The Tale of Despereaux”,”Mr. Peabody and Sherman|Mr. Peabody”,”The Wild”,”Hoodwinked”,”Valiant”,”Surf’s Up”,”Charlotte’s Web”,”Watership Down”,”The Plague Dogs”,”The Secret of NIMH”,”All Dogs Go to Heaven”,”Spirit: Stallion of the Cimarron|Spirit”,”Isle of Dogs”,”Shaun the Sheep Movie”,”Farmageddon”,”Chicken Run: Dawn of the Nugget|Dawn of the Nugget”,”Horton Hears a Who!”,”Piglet’s Big Movie”,”The Tigger Movie”,”Pooh’s Heffalump Movie”], “The Guild”:[“Cats Don’t Dance”,”Rock-a-Doodle”,”The Swan Princess”,”Alpha and Omega”,”Chicken Little”,”Home on the Range”,”The Angry Birds Movie”,”Storks”,”The Bad Guys”,”Migration”,”The Nut Job”], “Palme d’Or”:[“Felidae”,”Animals United”,”Fritz the Cat”,”Tom and Jerry: The Movie|Tom and Jerry”,”Ernest and Celestine”,”Zarafa”,”Khumba”,”Zambezia”]}), Q(“Music Biopics”,”Name a film about a real-life musician or band.”,false,{ “Golden Globe”:[“Bohemian Rhapsody”,”Elvis”,”Rocketman”,”Walk the Line”,”Ray”,”Straight Outta Compton”,”Selena”,”La Bamba”,”A Complete Unknown”,”Amadeus”], “Golden Bear”:[“Coal Miner’s Daughter”,”The Doors”,”Whitney Houston: I Wanna Dance with Somebody|Whitney”,”Respect”,”Get On Up”,”Love and Mercy”,”I’m Not There”,”Great Balls of Fire!”,”Sid and Nancy”,”Backbeat”,”Notorious”,”All Eyez on Me”,”Beyond the Sea”,”De-Lovely”,”The Buddy Holly Story”,”Nowhere Boy”,”Bird”,”Born to Be Blue”,”Miles Ahead”,”Lady Sings the Blues”,”What’s Love Got to Do with It”,”The Dirt”,”Maestro”,”Back to Black”,”Bob Marley: One Love|One Love”,”Ma Rainey’s Black Bottom”,”Judy”,”Stardust”], “Sundance Kid”:[“The Glenn Miller Story”,”The Benny Goodman Story”,”Hilary and Jackie”,”Shine”,”Immortal Beloved”,”Farinelli”,”Impromptu”,”Song of Norway”,”The Runaways”,”Control”,”Cadillac Records”,”Tous les matins du monde|All the Mornings of the World”], “The Guild”:[“A Song to Remember”,”Rhapsody in Blue”,”Night and Day”,”I’ll Cry Tomorrow”,”The Jolson Story”,”The Eddy Duchin Story”]}), Q(“The Big Score”,”Name a film centered on a heist or robbery.”,false,{ “Golden Globe”:[“Ocean’s Eleven|Ocean’s 11″,”The Italian Job”,”Now You See Me”,”Baby Driver”,”Heat”,”Inside Man”,”Dog Day Afternoon”,”Point Break”,”Reservoir Dogs”,”Logan Lucky”], “Golden Bear”:[“The Town”,”Ocean’s Twelve”,”Ocean’s Thirteen”,”Ocean’s 8|Ocean’s Eight”,”The Thomas Crown Affair”,”Hell or High Water”,”Entrapment”,”Widows”,”Fast Five”,”Snatch”,”Set It Off”,”Inception”,”Gone in 60 Seconds”,”Tower Heist”,”Ant-Man”,”Lock, Stock and Two Smoking Barrels”,”Army of the Dead”,”The Bank Job”,”American Animals”], “Sundance Kid”:[“Triple 9″,”Den of Thieves”,”Takers”,”Rififi”,”The Killing”,”Going in Style”,”The Score”,”Heist”,”Sexy Beast”,”Trance”,”Mad Money”,”Armored”,”Kelly’s Heroes”,”The Hot Rock”,”Topkapi”,”How to Steal a Million”,”The Great Train Robbery”,”The Asphalt Jungle”,”Bad Genius”,”The Friends of Eddie Coyle”], “The Guild”:[“The Lavender Hill Mob”,”Bob le flambeur”,”Le Cercle Rouge”,”Thief”,”Big Deal on Madonna Street”,”Quick Change”,”The Ladykillers”,”The Anderson Tapes”], “Palme d’Or”:[“Odds Against Tomorrow”,”Criss Cross”,”Plunder Road”], “Oscar”:[“The Day They Robbed the Bank of England”]}), Q(“Caped Crusaders”,”Name an actor who has played a superhero in a live-action film.”,true,{ “Golden Globe”:[“Robert Downey Jr.|Robert Downey Junior”,”Chris Evans”,”Chris Hemsworth”,”Tom Holland”,”Hugh Jackman”,”Ryan Reynolds”,”Christian Bale”,”Scarlett Johansson”], “Golden Bear”:[“Henry Cavill”,”Ben Affleck”,”Robert Pattinson”,”Gal Gadot”,”Chadwick Boseman”,”Brie Larson”,”Tobey Maguire”,”Andrew Garfield”,”Mark Ruffalo”,”Chris Pratt”,”Michael Keaton”,”Benedict Cumberbatch”,”Paul Rudd”,”Elizabeth Olsen”,”Jeremy Renner”,”Zoe Saldaña|Zoe Saldana”,”Dave Bautista”,”Jason Momoa”,”Ezra Miller”], “Sundance Kid”:[“Halle Berry”,”George Clooney”,”Nicolas Cage”,”Val Kilmer”,”Will Smith”,”Patrick Stewart”,”Michael B. Jordan”,”Jennifer Lawrence”,”Josh Brolin”,”Famke Janssen”,”James Marsden”,”Anna Paquin”], “The Guild”:[“Christopher Reeve”,”Wesley Snipes”,”Ron Perlman”,”Eric Bana”,”Edward Norton”,”Jennifer Garner”,”Nicholas Hoult”,”Taylor Kitsch”,”Brandon Routh”,”Letitia Wright”,”Lupita Nyong’o”,”Bruce Willis”], “Palme d’Or”:[“Adam West”,”Thomas Jane”,”Michael Chiklis”,”Ioan Gruffudd”,”Jessica Alba”,”Rebecca Romijn”,”Evan Peters”,”Aaron Taylor-Johnson”,”Simu Liu”,”Danai Gurira”,”David Harbour”,”Kit Harington”,”Angelina Jolie”], “Oscar”:[“Billy Zane”,”Alec Baldwin”,”Dolph Lundgren”]}) ]; const maxScore=Qs.reduce((n,q)=>n+Math.max(…[…q.map.values()].map(v=>T[v.tier].pts)),0); const FR=[.08,.22,.37,.52,.66,.80]; const CUTS=TIERS.map((t,i)=>({name:t[0],icon:t[2],tag:t[3],min:Math.round(FR[i]*maxScore/5)*5})); function rating(s){let r=null;CUTS.forEach(c=>{if(s>=c.min)r=c});return r} function erf(x){const s=x.5*(1+erf((x-.30*maxScore)/(.17*maxScore*Math.SQRT2))); const PUZZLE=”003″; const KEY=”wtp-play”; function today(){const d=new Date();return d.getFullYear()+”-“+String(d.getMonth()+1).padStart(2,”0″)+”-“+String(d.getDate()).padStart(2,”0″)} function save(next,done){try{localStorage.setItem(KEY,JSON.stringify({day:today(),puzzle:PUZZLE,idx:next,score,correct,best,results,details,done:!!done}))}catch(e){}} function loadSaved(){try{const r=JSON.parse(localStorage.getItem(KEY)||”null”);return r?(r.day===today()?(r.puzzle===PUZZLE?r:null):null):null}catch(e){return null}} let idx=0,score=0,correct=0,timeLeft=25,results=[],details=[],timerInt=null,timeouts=[],answered=false,best=”None”,guessed=new Set(),guesses=[]; function later(fn,ms){timeouts.push(setTimeout(fn,ms))} function clearAll(){timeouts.forEach(clearTimeout);timeouts=[];clearInterval(timerInt)} function startGame(){ $(“welcome”).classList.add(“hidden”);$(“summary”).classList.add(“hidden”);$(“game”).classList.remove(“hidden”); idx=0;score=0;correct=0;best=”None”;results=[];details=[];updateScore();loadQuestion(); } function loadQuestion(){ if(idx>=Qs.length){endGame();return} clearAll(); const q=Qs[idx]; $(“cat”).textContent=q.cat; $(“progress”).textContent=`Question ${idx+1} of ${Qs.length}`; $(“prompt”).textContent=q.prompt; $(“answer”).value=””;$(“feedback”).innerHTML=””;$(“next”).classList.add(“hidden”); $(“next-btn”).textContent=idx===Qs.length-1?”See Results →”:”Next Question →”; guessed=new Set();guesses=[];renderChips();answered=false; $(“timer-bar”).style.transition=”none”;$(“timer-bar”).style.width=”100%”;$(“timer-text”).textContent=”25s”; void $(“timer-bar”).offsetWidth;$(“timer-bar”).style.transition=””; const input=$(“answer”),btn=$(“submit”),ov=$(“overlay”); input.disabled=true;btn.disabled=true; ov.classList.remove(“go”,”hidden”); const stars=[…ov.querySelectorAll(“.star”)]; stars.forEach(s=>s.className=”star”); stars.forEach((s,i)=>later(()=>s.classList.add(“on”),1000*(i+1))); later(()=>{ stars.forEach(s=>s.classList.replace(“on”,”pop”)); ov.classList.add(“go”); input.disabled=false;btn.disabled=false;input.focus({preventScroll:true}); startTimer(); },3600); later(()=>ov.classList.add(“hidden”),4150); } function startTimer(){ timeLeft=25;updateTimer(); timerInt=setInterval(()=>{ if(answered)return; timeLeft–;updateTimer(); if(timeLeft<=0){clearInterval(timerInt);handleTimeout()} },1000); } function updateTimer(){ $("timer-text").textContent=timeLeft+"s"; $("timer-bar").style.width=(timeLeft/25*100)+"%"; } function lev(a,b){ const m=[];for(let i=0;i<=b.length;i++)m[i]=[i];for(let j=0;j<=a.length;j++)m[0][j]=j; for(let i=1;i<=b.length;i++)for(let j=1;j<=a.length;j++) m[i][j]=b[i-1]===a[j-1]?m[i-1][j-1]:Math.min(m[i-1][j-1]+1,m[i][j-1]+1,m[i-1][j]+1); return m[b.length][a.length]; } function findMatch(q,c){ let best=null,bd=99; for(const [k,v] of q.map){ const tol=k.length<5?0:k.length<9?1:2; const d=c===k?0:lev(c,k); if(d<=tol){if(d<bd){best=v;bd=d}} } if(!(best||!q.people||c.length(k.includes(” “)?k.split(” “).pop()===c:false)); if(hits.length===1)best=hits[0][1]; } return best; } function submitAnswer(e){ e.preventDefault(); if(answered)return; const input=$(“answer”),raw=input.value.trim(),c=clean(raw),fb=$(“feedback”); if(!c)return; if(guessed.has(c)){fb.innerHTML=`You already tried that one!`;return} guessed.add(c); const q=Qs[idx],m=findMatch(q,c); if(m){ const t=T[m.tier]; answered=true;clearInterval(timerInt); score+=t.pts;correct++; if(t.rank>(T[best]?T[best].rank:0))best=m.tier; guesses.push({text:raw,ok:true,tier:m.tier});results[idx]=t.txt;details[idx]={cat:q.cat,ans:m.display,icon:t.icon,pts:t.pts};save(idx+1,false); updateScore();renderChips(); fb.innerHTML=`✓ ${m.display}: ${t.icon} ${m.tier} (+${t.pts} pts). ${t.tag}`; popup(t.icon,`+${t.pts} pts`,m.tier); input.disabled=true;$(“submit”).disabled=true; $(“next”).classList.remove(“hidden”); }else{ guesses.push({text:raw,ok:false});renderChips(); fb.innerHTML=`✗ Not quite. Try another answer!`; input.value=””;input.focus({preventScroll:true}); } } function handleTimeout(){ answered=true; const q=Qs[idx],ex=q.examples[Math.floor(Math.random()*q.examples.length)]; $(“feedback”).innerHTML=`⏱ Time’s up! 🍓 Rotten Raspberry (0 pts): back to film school. One answer: ${ex}.`; results[idx]=”🍓”;details[idx]={cat:q.cat,ans:”No answer”,icon:”🍓”,pts:0};save(idx+1,false);popup(“🍓”,”Rotten Raspberry”,”0 pts · Back to film school”); $(“answer”).disabled=true;$(“submit”).disabled=true; $(“next”).classList.remove(“hidden”); } function nextQuestion(){idx++;loadQuestion()} function popup(icon,title,sub){ const p=document.createElement(“div”);p.className=”popup”; p.innerHTML=`
${icon}
${title}${sub}
`; $(“popups”).appendChild(p); setTimeout(()=>{p.classList.add(“out”);setTimeout(()=>p.remove(),600)},1800); } function renderChips(){ const c=$(“chips”);c.innerHTML=””; if(!guesses.length){c.innerHTML=`No guesses yet`;return} guesses.forEach(g=>{ const s=document.createElement(“span”);s.className=”chip”+(g.ok?” ok”:””); s.textContent=g.ok?`✓ ${g.text} (${g.tier})`:`✗ ${g.text}`; c.appendChild(s); }); } function updateScore(){$(“score”).textContent=score;$(“correct”).textContent=correct} function endGame(restored){ clearAll(); $(“game”).classList.add(“hidden”);$(“summary”).classList.remove(“hidden”); $(“final-score”).textContent=score+” pts”; $(“final-correct”).textContent=`${correct} / ${Qs.length}`; const sub=s=>`
${s}`; $(“final-tier”).innerHTML=T[best]?`${T[best].icon} ${best}${sub(T[best].tag)}`:`🍓 Rotten Raspberry${sub(“Back to film school.”)}`; if(!restored)save(Qs.length,true); $(“again”).classList.add(“hidden”);$(“lock”).classList.remove(“hidden”); renderReport(!restored); } function readLog(){let L={played:0,total:0,best:0,streak:0,last:””};try{L=Object.assign(L,JSON.parse(localStorage.getItem(“wtp-log”)||”{}”))}catch(e){}return L} function logbook(score){ const day=d=>d.getFullYear()+”-“+String(d.getMonth()+1).padStart(2,”0″)+”-“+String(d.getDate()).padStart(2,”0”); const now=new Date(),today=day(now),y=new Date(now);y.setDate(y.getDate()-1); let L=readLog(); L.streak=L.last===today?Math.max(L.streak,1):(L.last===day(y)?L.streak+1:1); L.played++;L.total+=score;L.best=Math.max(L.best,score);L.last=today; try{localStorage.setItem(“wtp-log”,JSON.stringify(L))}catch(e){} return L; } function renderReport(fresh){ const pct=Math.min(99,Math.max(1,Math.round(cdf(score)*100))); $(“pct”).textContent=pct+”%”;$(“max”).textContent=maxScore+” pts”; const N=8,mass=[]; for(let i=0;i`
`).join(“”); $(“reel”).innerHTML=details.map(d=>`
${d.icon}
${d.cat}${d.ans}
+${d.pts}
`).join(“”); const mine=rating(score); $(“rating”).innerHTML=mine?`You scored ${score} pts, which earns you ${mine.icon} ${mine.name}.`:`You scored ${score} pts, which earns you 🍓 a Rotten Raspberry.`; const rows=CUTS.slice().reverse().map(c=>`
${c.icon}
${c.name}${c.tag}
${c.min}+ pts
`); rows.push(`
🍓
Rotten RaspberryBack to film school.
Under ${CUTS[0].min}
`); $(“cuts”).innerHTML=rows.join(“”); const L=fresh?logbook(score):readLog(); $(“l-streak”).textContent=L.streak;$(“l-played”).textContent=L.played; $(“l-avg”).textContent=Math.round(L.total/Math.max(1,L.played));$(“l-best”).textContent=L.best; } function copyResults(){ const txt=`🎬 When To Play #${PUZZLE}\nTotal Score: ${score} pts\nCorrect Answers: ${correct}/${Qs.length}\nHighest Award: ${T[best]?best:”Rotten Raspberry”}\n\n${results.join(“”)}`; const done=()=>{$(“copy-text”).textContent=”Copied!”;setTimeout(()=>$(“copy-text”).textContent=”Copy Results”,2000)}; const fallback=()=>{const ta=document.createElement(“textarea”);ta.value=txt;document.body.appendChild(ta);ta.select(); try{document.execCommand(“copy”);done()}catch(e){}document.body.removeChild(ta)}; if(navigator.clipboard?navigator.clipboard.writeText:false)navigator.clipboard.writeText(txt).then(done,fallback);else fallback(); } root.querySelectorAll(“.oscslot”).forEach(e=>e.innerHTML=OSC); if(/wtp-reset/.test(location.search+location.hash)){try{localStorage.removeItem(KEY)}catch(e){}} $(“start”).addEventListener(“click”,startGame); $(“again”).addEventListener(“click”,startGame); $(“copy”).addEventListener(“click”,copyResults); $(“next-btn”).addEventListener(“click”,nextQuestion); $(“form”).addEventListener(“submit”,submitAnswer); const S=loadSaved(); if(S){ score=S.score;correct=S.correct;best=S.best;results=S.results||[];details=S.details||[];idx=S.idx;updateScore(); $(“welcome”).classList.add(“hidden”); if(S.done){$(“summary”).classList.remove(“hidden”);endGame(true)} else{$(“game”).classList.remove(“hidden”);loadQuestion()} } })();