// The Hollow Cottage // Chapter 3 const cottageName = "The Hollow Cottage" writeln("You are standing outside " + cottageName + ".") var playerName = input("What is your name, traveler? ") writeln("Welcome, " + playerName + ".") var answer = input("There is a riddle carved into the door. It asks: what has keys but no locks? ") if answer == "piano" then writeln("The door swings open. You step inside.") else writeln("Nothing happens. The door stays shut.") end if