-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1 lines (1 loc) · 7.18 KB
/
index.html
1
<!DOCTYPE html><html lang="en"><head><title>YESNT</title><meta charset="UTF-8"><meta name="description" content="Your school is pushing their psuedoscientific agenda on you; you must escape before things get worse."/><meta name="viewport" content="width=device-width, initial-scale=1"/><link href="https://fonts.googleapis.com/css?family=Karla:400,700|Share+Tech+Mono&display=swap" rel="stylesheet"><link rel="stylesheet" href="./main.css"><link rel="stylesheet" href="./touch.css"><script src="./yesnt.min.js" charset="utf-8"></script></head><body class="hide-lungs hide-cant-jump hide-end hide-options hide-pose hide-dev"><p id="subtitles"></p><p id="key-hint" class="hidden"></p><p id="hint"></p><div class="death-note hide-death-note"><img src="./images/death-icon.svg" alt=":(">You failed to <span id="death-reason">breathe</span>.</div><div class="note"><div class="note-content"><p>This is a work of fiction. Names, characters, businesses, places, events and incidents are either the products of the author's imagination or used in a fictitious manner. Any resemblance to actual persons, living or dead, or actual events is purely coincidental.</p><p>Click/tap the screen iff you believe this.</p></div></div><div id="touch-ui"><div id="touch-circle" class="touch-target"></div><div class="button-wrapper"><button class="touch-target touch-button options-btn available"><span class="touch-icon options-icon">options</span></button><button class="touch-target touch-button" data-sim-key="skip-intro">skip intro</button><button class="touch-target touch-button" data-sim-key="get-up">get up</button><button class="touch-target touch-button" data-sim-key="phone"><span class="touch-icon pose-icon sim-phone">phone out/away</span></button><button class="touch-target touch-button" data-sim-key="exp-up"><span class="touch-icon sim-exp-up">expansion up</span></button><button class="touch-target touch-button" data-sim-key="exp-down"><span class="touch-icon sim-exp-down">expansion down</span></button><button class="touch-target touch-button" data-sim-key="power-up"><span class="touch-icon pose-icon sim-power-up">power up</span></button><button class="touch-target touch-button" data-sim-key="power-down"><span class="touch-icon pose-icon sim-power-down">power down</span></button><button class="touch-target touch-button" data-sim-key="reset">reset pose</button><button class="touch-target touch-button" data-sim-key="pick-up">pick up light</button></div><div class="touch-target" id="breathe-interaction"><div class="breath-direction inhale-label"><span class="breath-dir-icon"></span><span class="breath-label">Inhale</span></div><div class="breath-direction exhale-label"><span class="breath-dir-icon"></span><span class="breath-label">Exhale</span></div></div></div><div id="progress-bar"></div><div id="lung-indicator"></div><div class="pose-indicator"><span class="expansion-indicator"></span></div><div class="cant-jump"><span>Jumping upwards is easy. Landing softly is the hard part.</span></div><div class="end clickable"><div class="wrapper"><div class="end-reason escape"><h1>You've escaped</h1></div><div class="end-reason complete"><h1>Reeducation complete</h1></div><div id="stattable" class="stat-table"></div><!-- TEMP --><p>LEADERBOARD WILL BE CLEARED BECAUSE THIS GAME WIP</p><p>Submit your score to the leaderboard:</p><p><label>Three-letter/number name: <input type="text" class="input" maxlength="3" id="username" placeholder="YES"></label></p><p><label class="url-wrapper">URL (optional): <input type="url" class="input" id="url" placeholder="https://gunn.app/"></label></p><p class="problem hidden" id="problem"></p><p><button type="button" class="button" id="submit-score">Submit</button></p><div class="leaderboard hidden" id="leaderboard"></div><p><button type="button" class="button full" id="play-again">Play again</button></p><p><a class="button full" href="./leaderboard.html">Full leaderboard</a></p></div></div><div class="options clickable"><p>Click outside of this panel to close.</p><p><button class="button" id="restart">Restart</button></p><p><a class="button" href="./settings.html">Gameplay settings</a></p><h1>Controls</h1><p><button class="button" id="reset-settings">Reset settings</button></p><label>FOV <div class="slider-wrapper"><input type="range" id="fov" min="30" max="120"><span id="fov-val"></span></div></label><label>Mouse sensitivity <div class="slider-wrapper"><input type="range" id="sensitivity" min="2.2" max="4" step="any"></div></label><label>Touch sensitivity <div class="slider-wrapper"><input type="range" id="touch-sensitivity" min="1" max="3" step="any"></div></label><h2>Key mappings</h2><p>The number keys are used for entering in the code and cannot be reassigned.</p><p><span class="key-input" tabindex="0" data-fn="inhale"></span>Inhale</p><p><span class="key-input" tabindex="0" data-fn="exhale"></span>Exhale</p><p><span class="key-input" tabindex="0" data-fn="skip-intro"></span>Skip intro</p><p><span class="key-input" tabindex="0" data-fn="reset"></span>Reset pose</p><p><span class="key-input" tabindex="0" data-fn="exp-up"></span>Expansion breath: arms up</p><p><span class="key-input" tabindex="0" data-fn="exp-down"></span>Expansion breath: arms down</p><p><span class="key-input" tabindex="0" data-fn="power-up"></span>Power breath: arms up</p><p><span class="key-input" tabindex="0" data-fn="power-down"></span>Power breath: arms down</p><p><span class="key-input" tabindex="0" data-fn="om"></span>Say omm</p><p><span class="key-input" tabindex="0" data-fn="get-up"></span>Get up</p><p><span class="key-input" tabindex="0" data-fn="phone"></span>Take out/put away phone</p><p><span class="key-input" tabindex="0" data-fn="forth"></span>Run forwards</p><p><span class="key-input" tabindex="0" data-fn="back"></span>Run backwards</p><p><span class="key-input" tabindex="0" data-fn="left"></span>Sidestep left</p><p><span class="key-input" tabindex="0" data-fn="right"></span>Sidestep right</p><p><span class="key-input" tabindex="0" data-fn="trip"></span>Jump</p><p><span class="key-input" tabindex="0" data-fn="pick-up"></span>Pick up light</p><p><span class="key-input" tabindex="0" data-fn="del-code-digit"></span>Delete last code digit</p><h2>Total stats</h2><p><a class="button" href="./leaderboard.html">Global leaderboard</a></p><div id="total-stattable" class="stat-table"></div><h1>About</h1><p>A mysterious YESNT (YESNT Eradication of Students' Nerve Tension) Program has come to your school, and you immediately suspect something going on. You deduce that they are trialing an experimental breathing exercise to brainwash students. As an indepedent citizen, you do not desire to be dictated by a foreign power, so you must egress from the situation promptly!</p><p>Your plan: Do the YESNT breathing arms while the instructor is watching, and when she's not, take out your phone and spy on the administration's secret broadcast for the passcode to a door. Get up, which will inevitably attract the attention of the instructor, try the code on every single door, and escape when it works.</p><p>Anything is worth having a free mind.</p></div><div class="note-content dev-note">You have test parameters meant for development enabled, so the game will not save your progress. To undo this, remove the part of the URL after the question mark (?).</div></body></html>