You return to the living room. <<if visited("TV2")>>There's that thumping sound again.<<else>>You hear a thump.<<endif>> It's coming from your bedroom.\n\n<<nobr>><<if visited("TV3")>><<else>>[[Watch TV|TV4]]<br><<endif>>\n<<if visited("Kitchen2")>><<else>>[[Go back to the kitchen|Kitchen2]]<br><<endif>>\n[[Go to the bedroom|Bedroom]]<<endnobr>>
You are no longer thirsty.\n\n[[Play again|Start][state.restart()]]\n[[Share on Twitter|https://twitter.com/intent/tweet?text=You+are+thirsty%2C+a+bite-sized+horror+game%3A+http%3A%2F%2Fbitesizedhorror.com%2Fthirsty]]\n<a href="https://www.facebook.com/sharer/sharer.php?u=http://bitesizedhorror.com/thirsty" target="_blank">Share on Facebook</a>
You open the closet. A man is gagged and tied up. You are thirsty.\n\n[[Remove his gag|Gag]]\n[[Untie him|Untie]]\n[[Drink|Drink]]
.header {\n\tposition:fixed;\n\ttop: 0;\n\tleft: 0;\n\tmargin: 0;\n\twidth:100%;\n\theight:100%;\n\tbackground-color:transparent;\n\ttransition: 3s;\n\t-webkit-transition: 3s;\n\tz-index: -10;\n}\n.transition-in > .header {\n\tbackground-color:red;\n\tz-index: 1000;\n}\n.transition-out {\n\tdisplay:none;\n}
You sit on your couch in the living room.\n\n[[Watch TV|TV]]<<loadJS "https://platform.twitter.com/widgets.js">>
You go back to the kitchen. It is empty.\n\n<<nobr>><<if visited("Fridge")>><<else>>[[Open the fridge|Fridge]]<br><<endif>><<if visited("Cabinet")>><<else>>[[Open the cabinet|Cabinet]]<br><<endif>>[[Return to the living room|Living]]<<endnobr>>
You untie him. He tries to punch you.\n\n[[Dodge the blow|Dodge]]\n[[Let him hit you|Hit]]
macros['loadJS'] =\n{\n\thandler: function(place, object, parameters)\n\t{\n\t\tvar se = document.createElement("script");\n\t\tse.type = 'text/javascript';\n\t\tse.src = parameters[0];\n\t\tvar hT = document.getElementsByTagName("HEAD")[0];\n\t\thT.appendChild(se);\n\t\tif(se.innerText) {eval(se.innerText);}\n\t\telse {eval(se.textContent);}\n\t}\n}
You move out of the way. He stumbles. You grab him. You are thirsty.\n\n[[Drink|Drink]]
You barely feel his fist. You are thirsty.\n\n[[Drink|Drink]]
You watch some more TV. You are thirsty.\n\n[[Watch TV|TV2]]\n[[Go to the kitchen|Kitchen]]
You sink your fangs into his neck.\n\n[[Drink|Drink2]]
You open the fridge. <<if visited("Cabinet")>>It's also empty.<<else>>It's empty.<<endif>>\n\n<<nobr>><<if visited("Cabinet")>><<else>>[[Open the cabinet|Cabinet]]<br><<endif>>\n[[Return to the living room|Living]]<<endnobr>>
You open the cabinet. <<if visited("Fridge")>>It's also empty.<<else>>It's empty.<<endif>>\n\n<<nobr>><<if visited("Fridge")>><<else>>[[Open the fridge|Fridge]]<br><<endif>>[[Return to the living room|Living]]<<endnobr>>
(function () {\n "use strict";\n version.extensions['soundMacros'] = {\n major: 1,\n minor: 1,\n revision: 2\n };\n var p = macros['playsound'] = {\n soundtracks: {},\n handler: function (a, b, c, d) {\n var loop = function (m) {\n if (m.loop == undefined) {\n m.loopfn = function () {\n this.play();\n };\n m.addEventListener('ended', m.loopfn, 0);\n } else m.loop = true;\n m.play();\n };\n var s = eval(d.fullArgs());\n if (s) {\n s = s.toString();\n var m = this.soundtracks[s.slice(0, s.lastIndexOf("."))];\n if (m) {\n if (b == "playsound") {\n m.play();\n } else if (b == "loopsound") {\n loop(m);\n } else if (b == "pausesound") {\n m.pause();\n } else if (b == "unloopsound") {\n if (m.loop != undefined) {\n m.loop = false;\n } else if (m.loopfn) {\n m.removeEventListener('ended', m.loopfn);\n delete m.loopfn;\n }\n } else if (b == "stopsound") {\n m.pause();\n m.currentTime = 0;\n } else if (b == "fadeoutsound" || b == "fadeinsound") {\n if (m.interval) clearInterval(m.interval);\n if (b == "fadeinsound") {\n if (m.currentTime>0) return;\n m.volume = 0;\n loop(m);\n } else {\n if (!m.currentTime) return;\n m.play();\n }\n var v = m.volume;\n m.interval = setInterval(function () {\n v = Math.min(1, Math.max(0, v + 0.005 * (b == "fadeinsound" ? 1 : -1)));\n m.volume = Math.easeInOut(v);\n if (v == 0 || v == 1) clearInterval(m.interval);\n if (v == 0) {\n m.pause();\n m.currentTime = 0;\n m.volume = 1;\n }\n }, 10);\n }\n }\n }\n }\n }\n macros['fadeinsound'] = p;\n macros['fadeoutsound'] = p;\n macros['unloopsound'] = p;\n macros['loopsound'] = p;\n macros['pausesound'] = p;\n macros['stopsound'] = p;\n macros['stopallsound'] = {\n handler: function () {\n var s = macros.playsound.soundtracks;\n for (var j in s) {\n\t\tif (s.hasOwnProperty(j)) {\n s[j].pause();\n if (s[j].currentTime) {\n\t\t s[j].currentTime = 0;\n\t\t }\n\t\t}\n }\n }\n }\n var div = document.getElementById("storeArea").firstChild;\n var fe = ["ogg", "mp3", "wav", "webm"];\n while (div) {\n var b = String.fromCharCode(92);\n var q = '"';\n var re = "['" + q + "]([^" + q + "']*?)" + b + ".(ogg|mp3|wav|webm)['" + q + "]";\n k(new RegExp(re, "gi"));\n div = div.nextSibling;\n }\n\n function k(c, e) {\n\tconsole.log("c: " + c + " e: " + e);\n do {\n var d = c.exec(div.innerHTML);\n\t console.log("d: " + d);\n if (d) {\n var a = new Audio();\n if (a.canPlayType) {\n for (var i = -1; i < fe.length; i += 1) {\n if (i >= 0) d[2] = fe[i];\n if (a.canPlayType("audio/" + d[2])) break;\n }\n if (i < fe.length) {\n a.setAttribute("src", d[1] + "." + d[2]);\n a.interval = null;\n\t\t\tif (d[1] == "music") a.volume = .2;\n macros.playsound.soundtracks[d[1]] = a;\n } else console.log("Browser can't play '" + d[1] + "'");\n }\n }\n } while (d);\n }\n}());
You untie him. He shouts, “Let me go! Please!”\n\n[[Put the gag back on|Gag2]]\n[[Untie him|Untie]]\n[[Drink|Drink]]
You are Thirsty
You are no longer thirsty.\n\n<<timedgoto "End" 4s>>
<<if visited() lt 2>>You get up and go to the kitchen. <<else if visited() lt 3>>You are thirsty.<<else if visited() lt 4>>You hear a thump.<<else>>You are so thirsty.<<endif>>\n\n<<nobr>><<if visited("Fridge")>><<else>>[[Open the fridge|Fridge]]<br><<endif>><<if visited("Cabinet")>><<else>>[[Open the cabinet|Cabinet]]<br><<endif>>[[Return to the living room|Living]]<<endnobr>>
version.extensions.timedgotoMacro={major:1,minor:2,revision:0};\nmacros["goto"]=macros.timedgoto={timer:null,handler:function(a,b,c,d){function cssTimeUnit(s){if(typeof s=="string"){if(s.slice(-2).toLowerCase()=="ms"){return +(s.slice(0,-2))||0\n}else{if(s.slice(-1).toLowerCase()=="s"){return +(s.slice(0,-1))*1000||0\n}}}throwError(a,s+" isn't a CSS time unit");return 0}var t,d,m,s;\nt=c[c.length-1];d=d.fullArgs();m=0;if(b!="goto"){d=d.slice(0,d.lastIndexOf(t));\nm=cssTimeUnit(t)}d=eval(Wikifier.parse(d));if(d+""&&state&&state.init){if(macros["goto"].timer){clearTimeout(macros["goto"].timer)\n}s=state.history[0].passage.title;macros["goto"].timer=setTimeout(function(){if(state.history[0].passage.title==s){state.display(d,a)\n}},m)}}};
You put the gag back on him. You are thirsty.\n\n[[Untie him|Untie]]\n[[Drink|Drink]]
It is hard to focus on the TV. You are so thirsty.\n\n<<nobr>><<if visited("Kitchen2")>><<else>>[[Go back to the kitchen|Kitchen2]]<br><<endif>>\n[[Go to the bedroom|Bedroom]]<<endnobr>>
It is hard to focus on the TV. You are so thirsty.\n\n[[Go to the kitchen|Kitchen]]
You watch more TV. You hear a thump.\n\n[[Watch TV|TV3]]\n[[Go to the kitchen|Kitchen]]
.transition-in {\n\tposition:absolute;\n\topacity:0;\n}\n.passage {\n\ttransition: 1s;\n\t-webkit-transition: 1s;\n}\n.transition-out {\n\tposition:absolute;\n\topacity:1;\n}
macros['wipeout'] = {\n handler: function(place, macroName, params, parser) {\n\n var i = 0;\n\n while( i < 99 ) {\n state.history[i] = 0;\n i++;\n }\n\n },\n };
You try the faucet. No water comes out.\n\n<<nobr>><<if visited("Cabinet")>><<else>>[[Open the cabinet|Cabinet]]<br><<endif>><<if visited("Fridge")>><<else>>[[Open the fridge|Fridge]]<br><<endif>>[[Return to the living room|Living]]<<endnobr>>
/* Your story will use the CSS in this passage to style the page.\nGive this passage more tags, and it will only affect passages with those tags.\nExample selectors: */\n\n\nbody {\n\t/* This affects the entire page */\n\t\n\tbackground: white;\n}\n.passage {\n\t/* This only affects passages */\n\tpadding-top: 16%;\n\tfont-family: IM Fell English;\n\tfont-size: 25px;\n\tcolor: black;\n}\n.passage a {\n\t/* This affects passage links */\n\tcolor: black;\n\ttext-decoration: none;\n\tfont-weight: bold;\n\t\n}\n.passage a:hover {\n\tcolor: red;\n\ttext-decoration: none;\n\tfont-weight: bold;\n\t/* This affects links while the cursor is over them */\n\t\n\t\n}\n\n#sidebar { display: none; }\n#passages { border-left: 0px; padding-left: 0; }\n@import url(https://fonts.googleapis.com/css?family=IM+Fell+English);
You go to the bedroom. You hear a thumping from your closet.\n\n[[Open the closet|Closet]]
Greg Karber
.transition-in {\n\tposition:absolute;\n\topacity:0;\n}\n.passage {\n\ttransition: 1s;\n\t-webkit-transition: 1s;\n}\n.transition-out {\n\tposition:absolute;\n\topacity:0;\n}