var user = prompt("You have a test, what do you want to do?", "study, work, or procrastinate.");
switch(user) {
case 'study':
var fastt = prompt("You passed, and got promoted to an honors class, but you dont know how to get there... Ask for help?", "yes or no").toUpperCase();
var fast = alert("You cant find your class and get mistaken for ditching school and get expelled. The end");
break;
var agile = alert("You get help and find the room and you go in...")
if(fast === 'no' && agile === 'yes') {
alert("a");
}
else {
alert("Congrats, you are an honors student!...... Oh and you also win, theres that...");
}
break;
case 'work':
alert("You work on other homework but never get around to studying for your test. After working you start to procrastinate.. Oh no!");
/* var verbs = {"school": 1, "space": 2, "nap": 3};
function makeChoice() {
var args = prompt("You work on other homework but never get around to studying for your test, you pass every class except for the one that you had the test on. Do you want to go back to high school, go to space, or take a nap", "school/space/nap").split(" ");
var cond = verbs[args[0]];
if (cond === 1) {
alert("You failed and dropped out of high school. Years later you go back...");
return false;
}
else if (cond === 2) {
alert("You passed the test and turned your life around. Good Job!");
return false;
}
else if (cond === 3) {
alert("You succsefully steal a jet ski but you realize that you dont know how to drive one, then the police corner you into a dock, and you get arrested... The End... Never procrastinate.");
return false;
} else {
alert("English, do you speak it?");
return true;
}
}*/
case 'procrastinate':
var verbs = {"procrastinate": 1, "study": 2, "jetski": 3};
function makeChoice() {
var args = prompt("You are...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.