var FIRSTPATH = prompt("Armed with your trusty dagger, you decide to wander into the woods (because let’s face it, decisions aren’t your strong suit; after all, you agreed to slay the evil Ribbens despite the suspicious nature of your helmet). Immediately after entering the shadow of the trees, a split path appears. Would you prefer to take the leftmost or rightmost path? (Answer ‘left’ or ‘right’.")
if (FIRSTPATH = "left") {
confirm("Well, looky here! You found a bag of coins! Because of your forest education, you have no idea how many are there, but it feels like a lot.")
} if (FIRSTPATH = "right" ) {
confirm("Well, nothing interesting happened in this path. In fact, it seems as though a bag of coins had been dragged down the left path instead. Whatever. Your choice was made.") }
else {
confirm("WJDFKF")
}
}
vendredi 6 mars 2015
What's wrong with my code? [on hold]
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire