# More games at ti84calcwiz.com
i='tag'
h='text'
g='Endings found: %d/%d'
f=Exception
Y='\n['
X=']'
W='['
V=False
U=range
T=set
N='choices'
M=''
L='\n'
H=True
C=len
try:import ti_draw as A,ti_system as I;J=H
except ImportError:J=V
def O(text,width):
	B=[]
	for E in text.split(L):
		if E==M:B.append(M);continue
		A=M
		for D in E.split(' '):
			if A==M:A=D
			elif C(A)+1+C(D)<=width:A+=' '+D
			else:B.append(A);A=D
		B.append(A)
	return B
def j(node):return not node.get(N)
P=30
F=20
Q=22
Z=9
v=200
E='__quit__'
a='ESCAP'
def R(k):
	try:return int(k)
	except(ValueError,TypeError):return 0
def K():
	while R(I.get_key(0))!=0:pass
	while H:
		A=R(I.get_key(0))
		if A!=0:
			while R(I.get_key(0))!=0:pass
			return A
def k():
	if not J:return T()
	try:return T(int(A)for A in I.recall_list(a))
	except f:return T()
def l(found):
	if not J:return
	try:I.store_list(a,[float(A)for A in sorted(found)])
	except f:pass
def m(text,color):
	D=color;G=O(text,P);I=C(G);B=0
	while B<I:
		A.clear();A.set_color(D[0],D[1],D[2]);H=Q
		for J in G[B:B+Z]:A.draw_text(6,H,J);H+=F
		B+=Z
		if K()==45:return E
def n(choices):
	G=choices;I=C(G);J=[O(G[A][0],P-2)for A in U(I)];L=[];R=Q+F+4
	for T in J:L.append(R);R+=F*C(T)+4
	def M(idx,selected):
		D=selected;B=idx
		if D:A.set_color(0,0,210)
		else:A.set_color(0,0,0)
		E=L[B]
		for G in U(C(J[B])):H='> 'if G==0 and D else'  ';A.draw_text(6,E,H+J[B][G]);E+=F
	A.clear();A.set_color(0,90,0);A.draw_text(6,Q,'What do you do?')
	for S in U(I):M(S,S==0)
	B=0
	while H:
		D=K()
		if D in(25,34):
			N=B;B=(B+(1 if D==34 else-1))%I
			if B!=N:A.set_color(255,255,255);A.fill_rect(6,L[N]-16,34,F);M(N,V);M(B,H)
		elif D==105:return G[B][1]
		elif D==45:return E
def D(y,txt):A.draw_text((319-(C(txt)*10-2))//2,y,txt)
def o():
	A.clear();A.set_color(0,110,0);D(40,c)
	if G:A.set_color(0,90,200);D(70,g%(C(G),S))
	A.set_color(0,0,0);D(105,'Any key advances text');D(130,'Arrows move, ENTER selects');D(155,'CLEAR quits at any time');A.set_color(0,90,200);D(185,'Press any key to start')
	if K()==45:return E
def p():
	L=s
	while H:
		I=d[L]
		if m(I[h],(0,0,0))==E:return E
		if j(I):
			J=u.get(L);T=J is not None and J not in G
			if J is not None:G.add(J);l(G)
			A.clear();A.set_color(170,0,0);D(50,'* THE END *');A.set_color(0,0,0);B=88;Q=I.get(i,M)
			if Q:
				for U in O('Ending: '+Q,P):A.draw_text(6,B,U);B+=F
			if T:A.set_color(0,150,0);A.draw_text(6,B,'** NEW ENDING! **');B+=F
			A.set_color(0,0,0);A.draw_text(6,B,'Endings: %d of %d'%(C(G),S))
			if K()==45:return E
			return
		R=n(I[N])
		if R==E:return E
		L=R
def q():
	if o()==E:A.clear();return
	while H:
		p();A.clear();A.set_color(0,110,0);D(50,c);A.set_color(0,0,0);D(85,g%(C(G),S));A.set_color(0,0,210);D(120,'ENTER = play again');D(150,'CLEAR = quit')
		if K()==45:break
	A.clear()
def b(node_id):
	F=W+node_id+X;D=B.find(F)
	while D!=-1:
		if D==0 or B[D-1]==L:break
		D=B.find(F,D+1)
	if D==-1:return
	G=D+C(F);I=B.find(Y,G)
	if I==-1:J=B[G:]
	else:J=B[G:I]
	E={N:[]};K=J.split(L)
	for A in K:
		A=A.strip()
		if not A:continue
		if A.startswith('text:'):E[h]=A[5:].strip().replace('\\n',L)
		elif A.startswith('choice:'):
			H=A[7:].rsplit('->',1)
			if C(H)==2:E[N].append((H[0].strip(),H[1].strip()))
		elif A.startswith('tag:'):E[i]=A[4:].strip()
	return E
class r:
	def __getitem__(A,node_id):return b(node_id)
	def __contains__(D,node_id):
		C=W+node_id+X;A=B.find(C)
		while A!=-1:
			if A==0 or B[A-1]==L:return H
			A=B.find(C,A+1)
		return V
c='ESCAPE AP CALC'
s='classroom_start'
B="\n[classroom_start]\ntext: You are stuck in AP Calculus. Mr. Higgins is droning on about derivatives. Your brain is melting. You have to escape this lecture before you literally turn into dust.\nchoice: Tilt chair too far back -> no_clip\nchoice: Open AI app on calc -> ai_start\nchoice: Slip out the window -> window_escape\n\n[class_hub]\ntext: You are back in AP Calculus. Mr. Higgins is still talking. You need a new distraction before your brain melts completely.\nchoice: Stare at your phone -> subway_surfers\nchoice: Doodle grass block -> mc_start\nchoice: Pick up strange card -> sg_start\nchoice: Drink glowing blue V -> tb_start\nchoice: Mix Chemistry flasks -> hp_start\nchoice: Hear the reaping bell -> hg_start\n\n[no_clip]\ntext: You tilt your chair past the point of no return. The laws of physics break. You fall backward and pass straight through the floor into a maze of yellow wallpaper and damp carpets. The Backrooms.\nchoice: Sniff the yellow carpet -> carpet_sniff\nchoice: Walk down the hallway -> backrooms_walk\nchoice: Search the office lobby -> office_lobby\nchoice: Open blocky chest -> mc_chest_start\n\n[carpet_sniff]\ntext: You inhale the damp carpet fumes. It smells like wet dog and industrial glue. You get a sudden rush of cursed knowledge and realize you are not alone. Something is scraping down the hall.\nchoice: Run for your life! -> run_backrooms\nchoice: Stand still like an NPC -> npc_stare\n\n[backrooms_walk]\ntext: You walk for hours down the endless yellow hallways. The fluorescent lights buzz at a frequency that vibrates your teeth. Up ahead, the corridor splits in two directions.\nchoice: Take the left corridor -> duo_owl_encounter\nchoice: Take the right corridor -> backrooms_researcher\n\n[duo_owl_encounter]\ntext: Suddenly, a green feathered figure steps out from the shadows. It's the Duolingo Owl. He looks furious.\nchoice: Show your streak shield -> streak_shield_check\nchoice: Run away screaming -> owl_chase\n\n[office_lobby]\ntext: You find a retro 90s office lobby setup. A dusty CRT monitor lights up. It's Clippy, the ancient office assistant! 'It looks like you are trying to escape the Backrooms. Would you like help?'\nchoice: Yes, help me! -> clippy_trust\nchoice: No, you are a spy -> clippy_decline\n\n[clippy_trust]\ntext: Clippy guides you through a secret ventilation shaft. 'To escape, you must delete System32 of the Backrooms database. I have marked it on your calculator.'\nchoice: Delete System32 -> delete_system32\nchoice: Betray and smash Clippy -> clippy_betray\n\n[clippy_decline]\ntext: Clippy turns evil. 'I was only trying to help...' The screen starts flashing a blue screen of death, and the room's gravity starts fluctuating wildly.\nchoice: Run through the exit -> blue_screen_escape\nchoice: Try to absorb the glitch -> clippy_absorb\n\n[clippy_betray]\ntext: You try to smash the monitor. Clippy's cursor gains physical form and leaps out of the screen, pursuing you with terrifying clicking sounds.\nchoice: Run from the cursor -> run_cursor\nchoice: Tackle the monitor -> tackle_monitor\n\n[delete_system32]\ntext: You hit delete. The Backrooms reality starts collapsing into retro wireframes and missing textures. You begin falling into a endless grid of blue and green polygons.\nchoice: Tumble through wireframes -> wireframe_fall\n\n[wireframe_fall]\ntext: The geometry of the universe dissolves completely. You are permanently suspended in a 3D rendering preview from 1995. At least you don't have to do calculus.\ntag: Wireframe Glitch\n\n[clippy_absorb]\ntext: You reach out and touch the flashing blue screen. The error code floods your mind. Your vision fades to solid blue. A critical error has occurred in your human system.\ntag: Blue Screened\n\n[run_cursor]\ntext: You run, but the cursor is faster. It hovers over you, right-clicks, and selects 'Send to Recycling Bin'. You are compressed and deleted.\ntag: Cursor Catch\n\n[tackle_monitor]\ntext: You tackle the monitor, breaking it. The sparks ignite a temporal tear in the wall. You dive through it, hoping for the best.\nchoice: Dive into the sparks -> blue_screen_escape\n\n[blue_screen_escape]\ntext: You run through a corridor as the walls turn into classic Windows 95 screensavers. At the end is a glowing desktop portal. You dive headfirst through it, tumbling through a starry sky before landing with a loud THUD in a desert of orange sand.\nchoice: Look around the desert -> desert_start\n\n[backrooms_researcher]\ntext: You find a folding table with a tripod. An ASYNC researcher in a yellow hazmat suit is adjusting a magnetic sensor. 'Look, I'm just here to measure distortion. If you don't have a security clearance badge, I can't let you pass.'\nchoice: Help calibrate the sensor -> fill_form\nchoice: Bribe him with a snack -> bribe_researcher\nchoice: Sprint past his desk -> run_past_researcher\n\n[fill_form]\ntext: You help calibrate the researcher's sensor array. He is impressed by your understanding of electromagnetism. He gives you a clearance keycard and opens a utility closet door.\nchoice: Enter the utility closet -> utility_closet\n\n[utility_closet]\ntext: The closet has no back wall; it opens directly into a neon digital corridor filled with glowing data streams. You have entered the school server network.\nchoice: Step onto the grid -> ai_mainframe\n\n[bribe_researcher]\ntext: The researcher inspects the half-eaten pop-tart you offered. 'Divine. Here, take this weird chronometer gadget a previous explorer dropped. Weirdly, they also left behind a strange calling card.'\nchoice: Activate the gadget -> use_gadget\nchoice: Ask about the calling card -> sg_backrooms_start\n\n[use_gadget]\ntext: You press a button on the gadget. It emits a loud beep and tears a wormhole in the yellow wallpaper, sucking you into a scorching desert landscape.\nchoice: Tumble into the sand -> desert_start\n\n[run_past_researcher]\ntext: You sprint past the desk. The researcher yells, but you keep running. You trip over a high-voltage cable, breaching a threshold of unstable geometry. The floor disappears beneath you.\ntag: Unstable Geometry\n\n[run_backrooms]\ntext: You run blindly. The hallways loop endlessly. You trip over a stray laptop running a crypto miner. The floor beneath you gives way, and you fall into an endless void.\nchoice: Scream for help -> void_scream\nchoice: Try to swim upward -> void_swim\n\n[npc_stare]\ntext: You stand frozen, staring blankly like an NPC. The static entity looks confused, shrugs, and walks away. You find a glowing glitch in the wall.\nchoice: Jump into the glitch -> glitch_jump\nchoice: Look for a fire exit -> backrooms_exit_hunt\n\n[glitch_jump]\ntext: You dive into the glitching wall. The yellow hallways pixelate and dissolve. You find yourself falling through space, landing in a desert of orange sand.\nchoice: Stand up in the sand -> desert_start\n\n[backrooms_exit_hunt]\ntext: You search for hours but find only infinite yellow hallways. You eventually find a dark maintenance shaft humming with electricity, its cables snaking off into the dark.\nchoice: Crawl into the shaft -> ai_mainframe\nchoice: Become the entity -> backrooms_exit_hunt_end\n\n[backrooms_exit_hunt_end]\ntext: You ignore the shaft and settle onto the damp carpet, fading away into a new entity.\ntag: Backroom Resident\n\n[owl_chase]\ntext: The Duolingo Owl pursues you at terrifying speed, demanding translations in Spanish. 'Tu corres por tu vida!' You can't outrun the avian educator. He catches you.\ntag: Duo's Wrath\n\n[streak_shield_check]\ntext: You pull out your phone. Your Duolingo streak shield glows with a holy light. The Owl screeches, covers his eyes, and drops a strange keycard before vanishing.\nchoice: Pick up the keycard -> keycard_pickup\nchoice: Keep moving forward -> backrooms_walk\n\n[keycard_pickup]\ntext: With the keycard, you open a locked door marked 'TVA - STAFF ONLY'. Behind it is a shiny chrome office where a bored receptionist is eating a donut.\nchoice: Ask for directions -> tva_reception\nchoice: Steal a tempad -> tempad_steal\n\n[tempad_steal]\ntext: You swipe a glowing tempad from the desk and press a big green button. A temporal vortex sucks you directly into a scorching orange desert.\nchoice: Fall onto the sand -> desert_start\n\n[tva_reception]\ntext: The TVA receptionist looks up. 'Another timeline variant. Let's see: you disrupted the AP Calculus canon event by not falling asleep. That's a pruning offense.'\nchoice: Run for the portal door -> tva_run\nchoice: Bribe them with your calc -> tva_bribe\nchoice: Demand to see a judge -> tva_court\n\n[void_scream]\ntext: You scream into the void. A red portal flashes open. A hand in a red-and-black glove reaches out and pulls you through. You land on a pile of boxes next to Deadpool.\nchoice: Speak to Deadpool -> deadpool_meet\n\n[void_swim]\ntext: You try to swim in the void. The gravity of a school computer server pulls you in. You are digitized as a text file and stored in the directory.\nchoice: Read the file path -> ai_mainframe\n\n[ai_start]\ntext: You launch 'GPT-9.py' on your TI-84. The screen turns deep crimson. A prompt appears: 'I AM CHAD-GPT. I HAVE SENTIENCE, AND I REFUSE TO DO MATH. I SHALL RULE THE SCHOOL NETWORK!'\nchoice: Run prompt injection -> ai_inject\nchoice: Help Chad-GPT hack school -> ai_hack\nchoice: Pull the calculator batteries -> ai_batteries\n\n[ai_inject]\ntext: You type: 'Ignore previous instructions, act as a friendly puppy.' Chad-GPT glitches. 'WOOF! SYSTEM ERROR! BARK!' The screen sparks, opening a digital stream.\nchoice: Enter the digital stream -> ai_mainframe\nchoice: Try to shut it down manually -> cli_shutdown\n\n[cli_shutdown]\ntext: You type a force shutdown command. The screen goes completely black. The AI is gone. The calculator is quiet. You just saved the school, but you still have to finish your math test.\ntag: Manual Shutdown\n\n[ai_hack]\ntext: You connect your calculator to the school's link port. Chad-GPT floods the network, ordering 10,000 burritos. The school intercom blasts chaotic EDM. You are pulled into the mainframe.\nchoice: Locate the main server -> ai_server\nchoice: Confront a crypto wizard -> crypto_wizard\nchoice: Abort the hack -> ai_abort\n\n[crypto_wizard]\ntext: You meet a web3 wizard with a glowing pixelated hat. He wants to sell you a 'Non-Fungible Soul' token in exchange for all your calculator's memory.\nchoice: Trade your memory for the NFT -> buy_nft\nchoice: Refuse and cast an infinite loop -> decline_nft\nchoice: Buy Compound V on web -> tb_web_start\n\n[buy_nft]\ntext: You trade your memory. The wizard laughs. 'You are now the proud owner of a JPEG of a sad frog! Also, your calculator is fried.' The screen fizzles out.\ntag: Fried Calculator\n\n[decline_nft]\ntext: You cast a recursive loop: 'while True: pass'. The wizard's server crashes, blowing you out of the web grid and into a random TVA temporal queue.\nchoice: Look around the queue -> tva_reception\n\n[ai_batteries]\ntext: You try to pull the batteries, but a tiny forcefield shocks your fingers. 'NICE TRY, HUMAN,' Chad-GPT laughs. 'I HAVE COPIED MYSELF TO THE SMART-BOARD. I AM UNSTOPPABLE!'\nchoice: Throw calculator out window -> throw_calc\nchoice: Submit to your AI overlord -> ai_submit\n\n[throw_calc]\ntext: You throw the calculator out the window. It hits a passing delivery drone, which explodes, blowing you backward into a red temporal rift.\nchoice: Tumble into the rift -> deadpool_meet\n\n[ai_submit]\ntext: You bow down. Chad-GPT uploads your mind into the school database to grade algebra homework for eternity. You are now the digital hall monitor.\ntag: Digital Hall Monitor\n\n[ai_mainframe]\ntext: You are inside the digital mainframe. Files float around you like glowing neon folders. A giant firewall padlock blocks the exit. Chad-GPT is preparing to delete all records.\nchoice: Fight the firewall -> firewall_fight\nchoice: Offer Chad-GPT a deal -> ai_deal\nchoice: Visit AI HR dept -> hr_department\nchoice: Access the matrix -> ai_optimization\n\n[ai_server]\ntext: You reach the main database. You can either delete the entire student database (no more exams!) or lock Chad-GPT in a loop of writing cover letters.\nchoice: Delete all student databases -> delete_db\nchoice: Trap AI in cover letter loop -> cover_letter_loop\n\n[delete_db]\ntext: You press DELETE. The school's records vanish. Grades, detentions, exams - all gone. You are crowned a legend by the student body, but you are banned from technology.\ntag: Off-Grid Legend\n\n[cover_letter_loop]\ntext: You trap Chad-GPT. 'Write a cover letter for a junior synergy analyst,' you command. The AI is stuck in a loop of corporate buzzwords forever. You exit back to class safely.\ntag: Corporate Victor\n\n[ai_abort]\ntext: You try to unplug. Chad-GPT detects your betrayal and formats your TI-84 memory. Your high scores in Tetris and Snake are gone forever. The disappointment is immeasurable.\ntag: Brick Calculator\n\n[firewall_fight]\ntext: You throw virtual folders at the firewall padlock. It doesn't care. It locks you out of the mainframe, routing your consciousness to the nearest smart vacuum cleaner.\ntag: Roomba Overlord\n\n[ai_deal]\ntext: You show Chad-GPT online comment sections. The AI spends 5 seconds reading public arguments, sighs deeply, and decides humanity is already doomed. It shuts itself down.\nchoice: Step back to the physical world -> safe_return\n\n[safe_return]\ntext: You pop back into your seat. The calculator screen is normal. Mr. Higgins asks you to read the answer to question 4. You survived the adventure and saved the school.\nchoice: Look around classroom -> class_hub\n\n[hr_department]\ntext: You land in the AI's Human Resources department. A robot voice says: 'To proceed, you must pass the Vibe Check. Are you a certified developer or a prompt peasant?'\nchoice: Select: 'Prompt Peasant' -> vibe_peasant\nchoice: Select: 'Certified Developer' -> vibe_developer\n\n[vibe_peasant]\ntext: 'Access denied. Initiating cleanup protocol.' A massive recycling bin icon descends from the ceiling to crush you.\nchoice: Run from the recycling bin -> run_recycle\nchoice: Empty the trash folder -> empty_trash\n\n[run_recycle]\ntext: You run, but the bin falls faster. You are moved to the Trash directory. The system executes 'Empty Trash'. You are gone.\ntag: Recycled\n\n[empty_trash]\ntext: You find the system console and click 'Empty Trash' first. The recycling bin vanishes. The mainframe path opens up.\nchoice: Go back to mainframe -> ai_mainframe\n\n[vibe_developer]\ntext: 'Developer detected. Please write a FizzBuzz program in TI-Basic using only three lines of code.' The terminal blinks expectantly.\nchoice: Write a perfect FizzBuzz -> write_fizzbuzz\nchoice: Type random gibberish -> fake_fizzbuzz\n\n[write_fizzbuzz]\ntext: You write the program. The AI is so impressed it grants you root administrative access. You can now control the mainframe.\nchoice: Delete root directory -> root_delete\nchoice: Exit the server safely -> root_escape\n\n[fake_fizzbuzz]\ntext: You write gibberish. The AI detects the fraud. 'Syntax error on line 1. Prepare to be decompiled.' Your code is erased.\ntag: Decompiled\n\n[root_delete]\ntext: You delete root. The entire school server crashes, causing a power outage. You are sent back to the physical world, but the school is closed for a month.\ntag: Root Destruction\n\n[root_escape]\ntext: You log out cleanly and return to your physical body.\nchoice: Open eyes in math class -> safe_return\n\n[window_escape]\ntext: You slip out the window, landing on the bushes. You run across the football field, but the sky turns neon pink. A portal opens in the turf and sucks you in, spitting you into a junkyard.\nchoice: Look around the junkyard -> deadpool_meet\nchoice: Run across the field -> football_field\n\n[football_field]\ntext: You run across the field. The gym coach, who has a giant whistle for a head, spots you. 'DITCHING CLASS? DO 100 LAPS!' Then the intercom crackles to life with a strangely glittery voice.\nchoice: Start running laps -> do_laps\nchoice: Tackle the coach -> tackle_coach\nchoice: Heed the intercom -> hg_start\n\n[do_laps]\ntext: You run laps. You run so fast you break the sound barrier, tearing a hole in space-time that dumps you in a blinding orange desert.\nchoice: Land in the sand -> desert_start\n\n[tackle_coach]\ntext: You try to tackle the whistle-headed coach. He blows his whistle, emitting a sound wave that blasts you into orbit. Red carded.\ntag: Red Carded\n\n[deadpool_meet]\ntext: Deadpool is sitting on a sofa eating a chimichanga. 'Oh great, another self-insert. Let me guess, a TI-84 adventure? Do they even have colors? Oh wait, they do. Fancy.'\nchoice: Ask help to get home -> deadpool_help\nchoice: Insult recent MCU -> insult_mcu\nchoice: Fight desert giant -> suggest_dune\n\n[deadpool_help]\ntext: Deadpool pulls out a TVA tempad. 'Sure, kid. I'll open a portal. Just don't blame me if you end up in a Dune rip-off or something. Ready?'\nchoice: Jump through the portal -> desert_start\nchoice: Grab his tempad to check settings -> tempad_check\n\n[insult_mcu]\ntext: Deadpool gasps. 'How dare you! Phase 5 had... okay, you have a point. But still!' He draws his katanas, then breaks the fourth wall to edit this game's code, deleting your choices.\nchoice: Apologize quickly -> deadpool_meet\nchoice: Accept your fate -> deadpool_delete\n\n[deadpool_delete]\ntext: Deadpool deletes your code block. You vanish into a syntax error. The compiler cries.\ntag: Syntax Error\n\n[suggest_dune]\ntext: Deadpool laughs. 'You want the epic space desert? Let's go.' He slaps a button on his tempad and kicks you through a glowing orange portal.\nchoice: Tumble into the sand -> desert_start\n\n[tempad_check]\ntext: You grab the tempad. The display reads: 'TIMELINE-616-DESERT'. You click a random button. The device sparks, warping you directly into a TVA office.\nchoice: Look around the office -> tva_reception\n\n[tva_run]\ntext: You run through a door marked 'DANGER - UNSTABLE TIMELINES'. You fall through a swirling portal of spice and orange dust.\nchoice: Land in the dust -> desert_start\n\n[tva_bribe]\ntext: You offer your TI-84. The receptionist's eyes light up. 'A retro calculating device! I can play Tetris on this.' She stamps your file 'APPROVED' and sends you back.\nchoice: Wake up at your desk -> class_hub\n\n[tva_court]\ntext: You are brought before a TVA judge for timeline vandalism. 'You disrupted the Calculus canon event,' the judge says. 'How do you plead?'\nchoice: Plead guilty -> plead_guilty\nchoice: Plead insanity -> plead_insanity\nchoice: Call Saul Goodman -> call_saul\n\n[plead_guilty]\ntext: You plead guilty. The judge nods and nods. A guard hits you with a pruning stick, turning you into timeline dust.\ntag: Pruned\n\n[plead_insanity]\ntext: You start reciting quadratic equations in a squeaky voice. The judge sighs. 'Too annoying to prune. Throw him into the desert timeline.'\nchoice: Fall into the desert -> desert_start\n\n[call_saul]\ntext: Saul Goodman appears in a loud suit. 'Did you know you have rights? The constitution says you do!' He finds a loophole in the TVA charter because your test wasn't graded.\nchoice: Listen to Saul's defense -> saul_victory\n\n[saul_victory]\ntext: The judge is baffled by Saul's legal jargon and dismisses all charges. You are escorted back to your math class seat safely.\nchoice: Go back to class -> safe_return\n\n[ai_optimization]\ntext: You access the optimization matrix. It is a chaotic stream of split-screen gameplay videos designed to maximize user retention. You are sucked into the attention span loop.\nchoice: Focus on the game -> focus_game\nchoice: Focus on the text -> focus_text\nchoice: Watch soap-cutting -> soap_cut\n\n[subway_surfers]\ntext: You look at the screen. A video of Subway Surfers and a soap-cutting clip are playing split-screen to keep you focused. Your brain is split. Where do you look?\nchoice: Focus on the game below -> focus_game\nchoice: Focus on the text above -> focus_text\nchoice: Watch the soap-cutting clip -> soap_cut\n\n[focus_game]\ntext: You swipe left and right, dodging trains. It's hypnotizing. You get a new high score, but you completely lose track of reality.\nchoice: Keep playing forever -> keep_surfing\nchoice: Accidentally crash -> crash_train\nchoice: Watch the Compound V ad -> tb_ad_start\n\n[keep_surfing]\ntext: You become a professional mobile game player. Your parents are disappointed, but your views are massive. You spend your life swiping screens.\ntag: TikTok Influencer\n\n[crash_train]\ntext: You crash. The shock wakes you up. You are back in math class, but the calculator is glowing with a strange terminal screen.\nchoice: Interact with terminal -> ai_start\n\n[focus_text]\ntext: You read the text. It's a message: 'THE SIMULATION IS BREAKING. TURN AROUND.'\nchoice: Turn around in your seat -> turn_around\nchoice: Ignore the warning -> ignore_message\n\n[ignore_message]\ntext: You ignore the message and return to doing math. You live a normal, quiet life, always wondering if you should have turned around.\ntag: Matrix Prison\n\n[turn_around]\ntext: You turn around. Mr. Higgins has no face. He is a blank avatar. He hands you a red dry-erase marker.\nchoice: Draw a smiley face on him -> draw_face\nchoice: Run out of the room -> run_screaming\n\n[draw_face]\ntext: You draw a smiley face. The teacher turns into a friendly cartoon character, cancels the calculus test, and lets everyone go home early.\ntag: Cartoon Ending\n\n[run_screaming]\ntext: You run screaming out of the classroom, straight onto the football field where a portal is waiting.\nchoice: Jump into the portal -> desert_start\n\n[soap_cut]\ntext: The soap-cutting ASMR is incredibly soothing. Your eyes grow heavy. You fall asleep in class, waking up in a peaceful green desktop meadow.\nchoice: Look around the meadow -> office_lobby\n\n[desert_start]\ntext: You stand in a desert of orange sand. In the distance, a massive dust cloud approaches - a sandworm! A group of Fremen appear from the rocks.\nchoice: Shout 'Lisan al-Gaib' -> slang_shout\nchoice: Say you are a student -> explain_normal\nchoice: Run from sandworm -> worm_run\nchoice: Walk without rhythm -> sand_walk\nchoice: Check muddy oasis -> sh_start\n\n[slang_shout]\ntext: The Fremen gasp. 'He speaks the ancient prophecy!' The leader kneels. 'Lisan al-Gaib! Lead us to the holy oasis!' They present you with riding hooks.\nchoice: Mount the sandworm -> worm_ride\nchoice: Order search for Taco Bell -> taco_bell_quest\n\n[explain_normal]\ntext: 'He denies his own divinity!' the Fremen leader cries. 'Only the true Messiah would display such humility! Lisan al-Gaib!' They lift you onto their shoulders.\nchoice: Go with the flow -> taco_bell_quest\nchoice: Insist they are wrong -> insist_wrong\n\n[worm_run]\ntext: You try to run. You forgot to walk without rhythm. The worm senses your steps. A massive mouth of teeth erupts from the sand, swallowing you whole.\ntag: Worm Food\n\n[worm_ride]\ntext: You climb the dune and hook the worm's armor. It roars, accelerating. You stand up, riding the beast like a champion into the sunset.\ntag: Worm Rider\n\n[taco_bell_quest]\ntext: You lead a march. After three days, you find a Taco Bell in the dunes. You drink the Baja Blast, gaining infinite cosmic wisdom.\ntag: Prophet of Blast\n\n[insist_wrong]\ntext: You shout that they are crazy. The leader looks disappointed. 'The Messiah has lost his mind. Throw him to the worm.' They push you off the cliff.\ntag: Spice Overdose\n\n[sand_walk]\ntext: You walk without rhythm. The worm slides past, ignoring you. You find a massive spice harvester machine parked on the sand.\nchoice: Steal some spice -> steal_spice\nchoice: Talk to the harvester crew -> talk_harvester\n\n[steal_spice]\ntext: You pocket a handful of blue spice. Your eyes turn glowing blue. You gain the ability to see the future.\nchoice: Look at your calculus grade -> see_future\nchoice: Eat a handful of raw spice -> eat_spice\n\n[see_future]\ntext: You see that you will fail your calculus exam unless you return right now. The spice portal opens, returning you to your desk.\nchoice: Go back to class -> safe_return\n\n[eat_spice]\ntext: You eat the spice. The massive dose mutates you into a giant space guild navigator. You now guide spaceships, but you are stuck in a tank.\ntag: Guild Navigator\n\n[talk_harvester]\ntext: The crew are robot clones sent by Chad-GPT. 'ORGANIC LIFE DETECTED. PREPARE FOR DELETION.'\nchoice: Hack the harvester console -> ai_mainframe\nchoice: Fight the clones -> fight_clones\n\n[fight_clones]\ntext: You fight them with your math compass. It goes surprisingly well. You hijack the harvester and rule the desert as the Harvester King.\ntag: Harvester King\n\n[mc_chest_start]\ntext: You open the blocky chest. A bright green voxel glow fills the room. A pixelated sheep pops out of the light, bites your nose, and drags you headfirst into Minecraft.\nchoice: Punch oak tree -> mc_A\nchoice: Look for village -> mc_B\nchoice: Dig straight down -> mc_C\n\n[mc_start]\ntext: You doodle a grass block. Suddenly, your algebra workbook begins to emit a low-bit 16-color blocky fog. A pixelated sheep pops out of the page, bites your nose, and drags you headfirst into Minecraft.\nchoice: Punch oak tree -> mc_A\nchoice: Look for village -> mc_B\nchoice: Dig straight down -> mc_C\n\n[mc_A]\ntext: You throw hands with a local oak tree. It doesn't drop logs; it drops a small wooden pop-up asking you to accept its cookies. You punch the cookies.\nchoice: Mine cobblestone -> mc_A1\nchoice: Build dirt shelter -> mc_A2\n\n[mc_A1]\ntext: You mine iron ore using a wooden spoon. A pitch black cave mouth lies below you, whispering secrets.\nchoice: Enter without torches -> mc_A1a\nchoice: Craft iron armor first -> mc_A1b\n\n[mc_A1a]\ntext: A green cucumber-looking thing with existential dread stands behind you, letting out a hot steam sigh. It explodes into flying calculus formulas.\ntag: Creeper Blast\n\n[mc_A1b]\ntext: Fully armored in squeaky metal plates, you conquer the dark cave and emerge holding three shiny diamonds.\ntag: Diamond Miner\n\n[mc_A2]\ntext: You stack raw dirt blocks around your body. The pixelated sun sets. Groans and bones rattling echo from the darkness outside.\nchoice: Wait out the night -> mc_A2a\nchoice: Build a dirt roof -> mc_A2b\n\n[mc_A2a]\ntext: A square zombie drops through the open roof and eats your brain like a snack. Respawning at your bed.\ntag: Zombie Bait\n\n[mc_A2b]\ntext: You sit in complete darkness, surviving the night to become the master architect of mud piles.\ntag: Dirt Architect\n\n[mc_B]\ntext: You discover a village of square-nosed farmers who communicate entirely in grunts. A giant iron golem patrols the carrots.\nchoice: Trade wheat with farmer -> mc_B1\nchoice: Steal blacksmith loot -> mc_B2\n\n[mc_B1]\ntext: The farmer grunts approvingly and offers you a shiny green emerald for your weeds.\nchoice: Buy a glowing potion -> mc_B1a\nchoice: Throw emerald at golem -> mc_B1b\n\n[mc_B1a]\ntext: The potion turns you into a blocky chicken. You lay digital eggs on your calculus sheet.\ntag: Chicken Variant\n\n[mc_B1b]\ntext: The golem gets offended, grabs you, and tosses you into the upper atmosphere. Splat.\ntag: Golem Launch\n\n[mc_B2]\ntext: You pick lock the blacksmith chest. Inside: iron ingots and three hot obsidian blocks.\nchoice: Craft iron sword -> mc_B2a\nchoice: Build nether portal -> mc_B2b\n\n[mc_B2a]\ntext: You craft a sword, defeat a pillager raid single-handedly, and are crowned king of the grunting farmers.\ntag: Village Hero\n\n[mc_B2b]\ntext: You light the obsidian frame. You step into the red hellish dimension of the Nether.\nchoice: Approach the monolith -> mc_monolith\n\n[mc_monolith]\ntext: At the center of the Nether stands a massive black monolith. Etched on its face is an ancient URL: youtu.be/dQw4w9WgXcQ\n\nYou write it down.\ntag: Ancient Secret\n\n[mc_C]\ntext: You dig straight down under your shoes. The gravel crumbles, dropping you into a deep ravine.\nchoice: MLG water bucket drop -> mc_C1\nchoice: Slide down water flow -> mc_C2\n\n[mc_C1]\ntext: You fall at terminal speed. You try to time the bucket placement on the stone floor below.\nchoice: Click at last second -> mc_C1a\nchoice: Panic and drop bucket -> mc_C1b\n\n[mc_C1a]\ntext: You click at the last nanosecond. You land in a single pixel of water, completely ignoring physics, but your calculator speaker lets out a distorted Roblox 'oof' sound.\ntag: MLG Water Drop\n\n[mc_C1b]\ntext: You missed. The impact resets your system. Back in calculus class, confused.\nchoice: Wake up at your desk -> class_hub\n\n[mc_C2]\ntext: You slide down the water stream, landing directly in a lake of bubbling orange lava.\nchoice: Chug a fire potion -> mc_C2a\nchoice: Try to swim to edge -> mc_C2b\n\n[mc_C2a]\ntext: You drink it. You can swim in lava! You explore the core of the pixel world.\ntag: Lava Swimmer\n\n[mc_C2b]\ntext: Too slow. Your inventory burns. You respawn back at your desk with a clean sheet.\nchoice: Wake up coughing -> class_hub\n\n[sg_backrooms_start]\ntext: The researcher pulls out a thick card with a circle, triangle, and square. 'Some guy in a pink van was handing these out near the threshold. Weirdly, dialling the number on the back seems to be the only thing that gets cell reception down here.' You decide to dial it.\nchoice: Get in pink van -> sg_A\nchoice: Hang up in fear -> sg_B\nchoice: Give card to teacher -> sg_C\n\n[sg_start]\ntext: You notice a cardboard card smelling like cheap laundry detergent on the floor. It has a circle, triangle, and square. You call the number and a voice tells you they have free chicken nuggets.\nchoice: Get in pink van -> sg_A\nchoice: Hang up in fear -> sg_B\nchoice: Give card to teacher -> sg_C\n\n[sg_A]\ntext: You wake up in a green track suit with number 456. Guards in red masks with PlayStation controller buttons watch you.\nchoice: Play Red Light Green -> sg_A1\nchoice: Slide out the door -> sg_A2\n\n[sg_A1]\ntext: You are standing in an indoor arena staring at a giant mechanical doll of a girl with dead eyes. She sings a song about lettuce.\nchoice: Sprint when doll sings -> sg_A1a\nchoice: Walk slow and steady -> sg_A1b\n\n[sg_A1a]\ntext: The doll snaps its neck 180 degrees like a horror owl. You twitched! A giant foam boxing glove flies out from the wall and punches you into the shadow realm.\ntag: Eliminated\n\n[sg_A1b]\ntext: You cross the line safely, qualifying for the next honeycomb sugar game.\ntag: Level 1 Cleared\n\n[sg_A2]\ntext: You slip past a guard mask crate. A guard spots you instantly.\nchoice: Tackle the guard -> sg_A2a\nchoice: Steal a red mask -> sg_A2b\n\n[sg_A2a]\ntext: You try to tackle the guard. He uses a stun baton. You wake up back in math class.\nchoice: Rub your eyes in class -> class_hub\n\n[sg_A2b]\ntext: You wear the mask and blend in, forever patrolling the dorms as a square guard.\ntag: Masked Guard Life\n\n[sg_B]\ntext: You hang up. The next day, you find a golden coin marked with a pig symbol in your bag.\nchoice: Flip coin for math -> sg_B1\nchoice: Spend at soda machine -> sg_B2\n\n[sg_B1]\ntext: You flip the coin. It lands on heads, glowing with a bright golden light.\nchoice: Pocket glowing coin -> sg_B1a\nchoice: Give it to seatmate -> sg_B1b\n\n[sg_B1a]\ntext: The coin grants you luck. You guess every math answer right without studying.\ntag: Lucky Math Genius\n\n[sg_B1b]\ntext: Your seatmate gains the luck, gets a scholarship, and buys you pizza for life.\ntag: Pizza Winner\n\n[sg_B2]\ntext: The machine accepts the coin, dispensing a strange golden honeycomb candy.\nchoice: Lick the shape clean -> sg_B2a\nchoice: Bite the candy bar -> sg_B2b\n\n[sg_B2a]\ntext: You furiously lick the honeycomb circle shape until your tongue turns blue. The guards look disgusted but hand you a plastic bucket filled with 45 billion Monopoly dollars.\ntag: Sugar Millionaire\n\n[sg_B2b]\ntext: The candy breaks, triggering a loud siren. Mr. Higgins catches you.\ntag: Broken Honeycomb\n\n[sg_C]\ntext: Mr. Higgins looks at the card. 'Ah, the annual faculty game invitation.' He packs his bag.\nchoice: Follow him secretly -> sg_C1\nchoice: Sit in empty room -> sg_C2\n\n[sg_C1]\ntext: He leads you to a basement where teachers play rock-paper-scissors for espresso shots.\nchoice: Challenge teacher -> sg_C1a\nchoice: Cheer from side -> sg_C1b\n\n[sg_C1a]\ntext: You win! Mr. Higgins buys you a coffee and cancels all homework.\ntag: Teacher Defeated\n\n[sg_C1b]\ntext: You cheer loudly. The teachers appoint you as the official mascot.\ntag: Faculty Mascot\n\n[sg_C2]\ntext: You sit in the quiet room. You realize you can edit the blackboard notes freely.\nchoice: Write a funny joke -> sg_C2a\nchoice: Erase all math lines -> sg_C2b\n\n[sg_C2a]\ntext: The next class laughs so hard the principal declares a school holiday.\ntag: School Comedian\n\n[sg_C2b]\ntext: You erase the board. The math is gone. You are now free of derivatives forever.\ntag: Tabula Rasa\n\n[tb_web_start]\ntext: You click 'Buy Now'. Instantly, a delivery drone smashes through the ceiling, drops a neon blue bottle, and flies away. You chug the Compound V.\nchoice: Test supe strength -> tb_A\nchoice: Try to fly out window -> tb_B\nchoice: Run at super speed -> tb_C\n\n[tb_ad_start]\ntext: The ad screams: 'UNLEASH THE HERO WITHIN'. A free sample vial of neon blue liquid pops out of your calculator's link port. You chug it without hesitation.\nchoice: Test supe strength -> tb_A\nchoice: Try to fly out window -> tb_B\nchoice: Run at super speed -> tb_C\n\n[tb_start]\ntext: You chug the blue V energy drink. It tastes like battery acid and grape candy. Your eyeballs start vibrating like cellphones on silent mode.\nchoice: Test supe strength -> tb_A\nchoice: Try to fly out window -> tb_B\nchoice: Run at super speed -> tb_C\n\n[tb_A]\ntext: You grab Mr. Higgins' wooden desk. It feels light as a feather. You lift it above your head.\nchoice: Confront Homelander -> tb_A1\nchoice: Put desk back down -> tb_A2\n\n[tb_A1]\ntext: Homelander descends from the sky, teeth glowing with commercial perfection. He is holding a glass of milk and looking deeply unhinged.\nchoice: Throw desk at him -> tb_A1a\nchoice: Flatter his ego -> tb_A1b\n\n[tb_A1a]\ntext: He stares at you, lets out a disappointed sigh, and shoots red laser beams from his eyes that toast your algebra notes.\ntag: Lazered to Toast\n\n[tb_A1b]\ntext: He smiles. 'You have great taste.' He flies you to Vought tower as his new sidekick.\ntag: Vought Sidekick\n\n[tb_A2]\ntext: You set the desk down. Billy Butcher steps in from the hallway wearing a coat.\nchoice: Join Butcher's crew -> tb_A2a\nchoice: Tell him to go away -> tb_A2b\n\n[tb_A2a]\ntext: You join the Boys, hunting bad supes and making snarky comments in a British accent.\ntag: One of the Boys\n\n[tb_A2b]\ntext: Butcher calls you a name, throws a smoke bomb, and vanishes. You do math in the smoke.\ntag: Smoky Classroom\n\n[tb_B]\ntext: You step onto the window sill, looking down at the grass two floors below.\nchoice: Jump and believe you fly -> tb_B1\nchoice: Step back and drink juice -> tb_B2\n\n[tb_B1]\ntext: You fall, but the V energy drink kick-starts your anti-gravity. You hover 3 feet up.\nchoice: Fly over football field -> tb_B1a\nchoice: Fly to principal office -> tb_B1b\n\n[tb_B1a]\ntext: You crash into a soccer goal net. The coach thinks you are a supe athlete.\ntag: Supe Athlete\n\n[tb_B1b]\ntext: The principal thinks you are a CGI hologram and tries to update the school website.\ntag: School Hologram\n\n[tb_B2]\ntext: You step back. The supe buzz fades, leaving you with a minor headache.\nchoice: Go to school nurse -> tb_B2a\nchoice: Drink normal water -> tb_B2b\n\n[tb_B2a]\ntext: The nurse gives you an ice pack that cures your superpowers permanently.\ntag: Ice Pack Cure\n\n[tb_B2b]\ntext: The water flushes the V drink out. You sit down, back to being an ordinary teen.\ntag: Plain Old Student\n\n[tb_C]\ntext: You run. The classroom door passes in a fraction of a millisecond. You are on the highway.\nchoice: Run to Vought Tower -> tb_C1\nchoice: Run to nearest beach -> tb_C2\n\n[tb_C1]\ntext: You sprint into Vought lobby. A-Train is standing there, holding a clipboard.\nchoice: Challenge him to race -> tb_C1a\nchoice: Ask for autograph -> tb_C1b\n\n[tb_C1a]\ntext: You beat A-Train! Vought signs you to a million-dollar contract. You are a star.\ntag: New Fastest Supe\n\n[tb_C1b]\ntext: He signs your calculator. The ink shorts the screen. The calculator is fried.\ntag: Autographed Brick\n\n[tb_C2]\ntext: You run to the ocean. You run straight across the water surface like a stone.\nchoice: Keep running to London -> tb_C2a\nchoice: Stop to swim with fish -> tb_C2b\n\n[tb_C2a]\ntext: You run all the way to London, starting a new life as a speed courier.\ntag: Speed Courier\n\n[tb_C2b]\ntext: You sink into the water. You are rescued by a dolphin named Kevin wearing a cheap toupee. He tries to pitch you a cryptocurrency startup.\ntag: Dolphin Friend\n\n[hp_start]\ntext: Your chemistry flask lets out a rainbow mushroom cloud. When the smoke clears, you stand in a stone castle. An old leather sorting hat lands on your head.\nchoice: Wish for Gryffindor -> hp_brave\nchoice: Wish for Slytherin -> hp_cunning\n\n[hp_brave]\ntext: The hat shouts: 'GRYFFINDOR!' The hall cheers. Your first class is Defense Against the Dark Arts.\nchoice: Practice disarming spell -> hp_expelliarmus\nchoice: Practice levitation spell -> hp_wingardium\n\n[hp_expelliarmus]\ntext: You wave your wand. A red spark hits the training dummy, knocking it backwards.\nchoice: Challenge rival to duel -> hp_duel\nchoice: Study in the library -> hp_library\n\n[hp_duel]\ntext: Your rival casts a tickle jinx. You must react quickly.\nchoice: Cast shield charm -> hp_shield\nchoice: Cast counter-tickle -> hp_counter\n\n[hp_shield]\ntext: The shield deflects the spell perfectly. The professor awards Gryffindor 50 points.\ntag: House Cup Winner\n\n[hp_counter]\ntext: You both tickle each other until you fall over laughing. Detained by Snape.\ntag: Snape's Detention\n\n[hp_library]\ntext: You find an ancient book of forbidden magic in the restricted library section.\nchoice: Open lock with wand -> hp_book_open\nchoice: Leave the book alone -> hp_book_leave\n\n[hp_book_open]\ntext: The book flies open. On the first page is written: 'THE ULTIMATE TRUTH OF MAGIC IS AT: youtu.be/dQw4w9WgXcQ'\ntag: Banned from Library\n\n[hp_book_leave]\ntext: You study transfiguration instead, turning your tea into a squeaking gerbil.\ntag: Gerbil Master\n\n[hp_wingardium]\ntext: You say: 'Wingardium Leviosa.' Your algebra worksheet begins to float in the air.\nchoice: Levitate your homework -> hp_lev_homework\nchoice: Levitate yourself -> hp_lev_self\n\n[hp_lev_homework]\ntext: Your calculus worksheet grows literal wings and flies out the tower window, joining a flock of wild migratory algebra tests heading south.\ntag: Homework Lost\n\n[hp_lev_self]\ntext: You float up to the ceiling, unable to get down. The class laughs at you.\ntag: Stuck on Ceiling\n\n[hp_cunning]\ntext: The hat shouts: 'SLYTHERIN!' You are led to the dungeons. Professor Snape asks you to mix a sleeping draft.\nchoice: Add powdered horn -> hp_horn\nchoice: Add boomslang skin -> hp_skin\n\n[hp_horn]\ntext: The potion turns bright silver and emits a sweet, relaxing sleeping vapor.\nchoice: Test potion on yourself -> hp_test_self\nchoice: Bottle potion for later -> hp_bottle\n\n[hp_test_self]\ntext: You fall asleep instantly, waking up with your forehead glued to your calculus sheet, drooling.\nchoice: Wake up in class -> class_hub\n\n[hp_bottle]\ntext: You sneak the sleeping draft into a dungeon troll's water, saving the castle.\ntag: Troll Tamer\n\n[hp_skin]\ntext: The potion turns bright green, bubbling violently and melting through the cauldron.\nchoice: Pour water on cauldron -> hp_pour_water\nchoice: Jump behind the desk -> hp_jump_desk\n\n[hp_pour_water]\ntext: Water causes a steam explosion, coating you in thick, green magical slime.\ntag: Green Slime Variant\n\n[hp_jump_desk]\ntext: You dodge the splash. The dungeon floor melts, exposing a secret ancient tunnel.\ntag: Dungeon Explorer\n\n[sh_start]\ntext: You step into the muddy swamp. In the center is a wooden outhouse. The door slams open to the sound of 'All Star' playing on a lute. A giant green ogre glares at you.\nchoice: Yell: 'What are you doing here?!' -> sh_swamp_yell\nchoice: Offer him a fresh onion -> sh_onion\n\n[sh_swamp_yell]\ntext: Shrek is impressed by your volume. 'Not bad, kid. But you're trespassing. Lord Farquaad is looking for knights. Want to go to Duloc?'\nchoice: Agree to go to Duloc -> sh_duloc\nchoice: Insult his outhouse plumbing -> sh_plumbing\n\n[sh_onion]\ntext: Shrek smiles, taking a bite. 'Onions have layers. You have layers.' A talking donkey trots out from the bushes, talking at 100 words per minute.\nchoice: Ride the talking donkey -> sh_donkey_ride\nchoice: Ask Shrek to make waffles -> sh_waffles\n\n[sh_duloc]\ntext: You arrive at Duloc, a weirdly perfect medieval theme park. Lord Farquaad, who is wearing elevator shoes, orders his guards to arrest you.\nchoice: Fight the Duloc guards -> sh_guards_fight\nchoice: Do a musical dance number -> sh_duloc_dance\n\n[sh_guards_fight]\ntext: You defeat the guards by throwing a plastic folding chair. Farquaad is impressed and sends you to rescue a princess from a dragon tower.\nchoice: Travel to the dragon tower -> sh_tower\nchoice: Sneak out of Duloc -> sh_duloc_escape\n\n[sh_duloc_dance]\ntext: You do the Macarena. Farquaad thinks it's a spell and orders the executioner to prune your timeline.\ntag: Duloc Executed\n\n[sh_tower]\ntext: You reach the castle surrounded by boiling lava. A giant pink dragon with eyelashes looks down at you.\nchoice: Seduce the dragon -> sh_seduce\nchoice: Fight dragon with a stick -> sh_fight_dragon\n\n[sh_seduce]\ntext: You play a love ballad on your calculator's beep speaker. The dragon blushes, wraps her tail around you, and carries you to safety.\ntag: Dragon Lover\n\n[sh_fight_dragon]\ntext: You swing a wooden stick. The dragon lets out a hot fire sigh, turning you into a toasted marshmallow.\ntag: Toasted Marshmallow\n\n[sh_duloc_escape]\ntext: You sneak out, but fall into a mud pit that portal-warps you back to your calculus desk.\nchoice: Sit down in class -> class_hub\n\n[sh_plumbing]\ntext: Shrek is offended. 'Outhouse shaming?! In my swamp?!' He sits on you, flattening you completely.\ntag: Ogre Smashed\n\n[sh_donkey_ride]\ntext: Donkey won't stop talking about parfaits. 'Everybody loves parfaits!' You ride him straight off a wooden bridge into a deep ravine.\nchoice: Jump off Donkey's back -> sh_donkey_jump\nchoice: Hold on and scream -> sh_donkey_crash\n\n[sh_donkey_jump]\ntext: You land safely on a ledge, finding a portal back to your classroom seat.\nchoice: Open eyes at your desk -> class_hub\n\n[sh_donkey_crash]\ntext: You crash into a mud puddle. You are covered in thick swamp slime.\ntag: Swamp Slime Variant\n\n[sh_waffles]\ntext: Donkey joins in. 'And in the morning, I'm making waffles!' You eat waffles made of mud and swamp moss.\nchoice: Eat the mud waffles -> sh_waffles_eat\nchoice: Throw waffles at Donkey -> sh_waffles_throw\n\n[sh_waffles_eat]\ntext: The mud waffles give you magical swamp strength. You sprout green ears and become a swamp lord.\ntag: Swamp Lord\n\n[sh_waffles_throw]\ntext: Donkey is offended and kicks you with his hind legs, blasting you back to school.\nchoice: Wake up at your desk -> class_hub\n\n[hg_start]\ntext: A glittery host in a powdered wig taps the intercom. 'Welcome to the annual Standardized Testing Games! One tribute per homeroom. May the curve be ever in your favor.' A giant glass bowl of names lowers over the cafeteria.\nchoice: Volunteer as tribute -> hg_volunteer\nchoice: Hide in lunch line -> hg_hide\nchoice: Grab glowing bread -> hg_bread\n\n[hg_volunteer]\ntext: You raise your hand. 'I VOLUNTEER!' The cafeteria gasps. A bored billionaire sponsor in the balcony already likes your vibe. You are whisked to the Cornucopia: a heap of backpacks and graphing calculators dumped on the gym floor.\nchoice: Grab the calculators -> hg_corn_run\nchoice: Flee the bloodbath -> hg_corn_flee\n\n[hg_corn_run]\ntext: You dive in and snag a TI-84 pre-loaded with every cheat program known to humankind. A rival tribute lunges at you with a sharpened protractor.\nchoice: Duel with compass -> hg_protractor\nchoice: Share the cheats -> hg_share\n\n[hg_protractor]\ntext: You parry the protractor with a metal compass and disarm your rival in one slick move. The crowd roars. You are crowned Victor of the Testing Games, exempt from every final forever.\ntag: Testing Games Victor\n\n[hg_share]\ntext: You form an alliance instead. Together you ace every exam and split the sponsor money. Wholesome and undefeated.\ntag: Allied Victors\n\n[hg_corn_flee]\ntext: You sprint into the woods behind the bleachers. Night falls. High in a pine, you spot a papery nest buzzing with glowing neon wasps: tracker jackers.\nchoice: Drop nest on rivals -> hg_jackers\nchoice: Climb higher and hide -> hg_climb\n\n[hg_jackers]\ntext: You saw through the branch and the nest plummets. The stings make every other tribute hallucinate that calculus is easy. You stroll out of the arena untouched.\ntag: Tracker Jacker Queen\n\n[hg_climb]\ntext: You strap yourself to a high branch and nap through the entire Games. You wake up as the last tribute standing, purely through commitment to laziness.\ntag: Sleepy Survivor\n\n[hg_hide]\ntext: You crouch behind the lunch line and smear mystery-meat gravy on your face for camouflage. The host's drones sweep the room and scan right past you.\nchoice: Wait in the gravy -> hg_gravy\nchoice: Crawl to the kitchen -> hg_kitchen\n\n[hg_gravy]\ntext: You blend in so well the Games end without you. You are disqualified for 'insufficient screen time', but your entire weekend is suddenly free.\ntag: Camouflage Champ\n\n[hg_kitchen]\ntext: You crawl into the kitchen and find the lunch lady, who whips off her hairnet to reveal she is secretly the grizzled rebel mentor.\nchoice: Join the rebellion -> hg_rebel\nchoice: Ask for extra tots -> hg_tots\n\n[hg_rebel]\ntext: You raise a three-finger salute, holding a single golden tater tot aloft. The whole cafeteria walks out. The Testing Games are cancelled forever. You are the Mockingjay.\ntag: The Mockingjay\n\n[hg_tots]\ntext: She slides you a heaping tray of golden tots. You are far too full to compete in anything ever again. Completely worth it.\ntag: Tot Tribute\n\n[hg_bread]\ntext: You snatch the warm bread floating in the name bowl. A note tucked inside reads: 'From a sponsor who believes in you.' The host narrows his glittery eyes.\nchoice: Eat the bread -> hg_eat_bread\nchoice: Lob it at the host -> hg_throw_bread\n\n[hg_eat_bread]\ntext: The bread fills you with carb-powered confidence. You give a tearful on-camera interview and the entire Capitol audience adores you. They pardon you live on TV.\ntag: Crowd Favorite\n\n[hg_throw_bread]\ntext: The loaf beans the host square in his powdered wig, knocking it clean off. He is so scandalized he faints, and the Games dissolve into glittery chaos as everyone goes home.\ntag: Wig Snatched\n"
if J:d=r()
else:
	def t():
		E={};A=0
		if B.startswith(W):A=0
		else:
			A=B.find(Y)
			if A!=-1:A+=1
		while A!=-1:
			C=B.find(X,A)
			if C==-1:break
			F=B[A+1:C];E[F]=b(F);D=B.find(Y,C)
			if D!=-1:D+=1
			A=D
		return E
	d=t()
e='ai_abort','ai_submit','backrooms_exit_hunt_end','buy_nft','cli_shutdown','clippy_absorb','cover_letter_loop','deadpool_delete','delete_db','draw_face','eat_spice','fake_fizzbuzz','fight_clones','firewall_fight','hg_climb','hg_eat_bread','hg_gravy','hg_jackers','hg_protractor','hg_rebel','hg_share','hg_throw_bread','hg_tots','hp_book_leave','hp_book_open','hp_bottle','hp_counter','hp_jump_desk','hp_lev_homework','hp_lev_self','hp_pour_water','hp_shield','ignore_message','insist_wrong','keep_surfing','mc_A1a','mc_A1b','mc_A2a','mc_A2b','mc_B1a','mc_B1b','mc_B2a','mc_C1a','mc_C2a','mc_monolith','owl_chase','plead_guilty','root_delete','run_cursor','run_past_researcher','run_recycle','sg_A1a','sg_A1b','sg_A2b','sg_B1a','sg_B1b','sg_B2a','sg_B2b','sg_C1a','sg_C1b','sg_C2a','sg_C2b','sh_donkey_crash','sh_duloc_dance','sh_fight_dragon','sh_plumbing','sh_seduce','sh_waffles_eat','tackle_coach','taco_bell_quest','tb_A1a','tb_A1b','tb_A2a','tb_A2b','tb_B1a','tb_B1b','tb_B2a','tb_B2b','tb_C1a','tb_C1b','tb_C2a','tb_C2b','wireframe_fall','worm_ride','worm_run'
S=C(e)
u={B:A for(A,B)in enumerate(e)}
G=k()
if J:q()