a text adventure in java for my class