Javascript text adventure for Software Development 1